diff --git a/.dockerignore b/.dockerignore index dc38da2b2..66de9b8f1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,6 +7,6 @@ cloudbuild.yaml Dockerfile Makefile README.md -node_modules -dist -.env +api-node/node_modules +api-node/dist +api-node/.env diff --git a/Dockerfile.nestjs b/Dockerfile.nestjs index 7d6a52cca..ade56704f 100644 --- a/Dockerfile.nestjs +++ b/Dockerfile.nestjs @@ -18,7 +18,7 @@ WORKDIR /work COPY api-node/package.json api-node/yarn.lock api-node/ # Remove dev dependencies -RUN cd api-node && yarn install --production --frozen-lockfile +RUN cd api-node && yarn install --frozen-lockfile COPY . .