Skip to content

Commit

Permalink
fix dockerignore and add install dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Nov 4, 2024
1 parent 81995c7 commit 70340c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ cloudbuild.yaml
Dockerfile
Makefile
README.md
node_modules
dist
.env
api-node/node_modules
api-node/dist
api-node/.env
2 changes: 1 addition & 1 deletion Dockerfile.nestjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .

Expand Down

0 comments on commit 70340c5

Please sign in to comment.