From 70340c5c73790c9bc8e28aa579aa173c4dd6aebb Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Mon, 4 Nov 2024 17:50:25 +0100 Subject: [PATCH] fix dockerignore and add install dev deps --- .dockerignore | 6 +++--- Dockerfile.nestjs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 . .