Skip to content

Commit

Permalink
dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
nishkohli96 committed Feb 22, 2024
1 parent f1278fc commit 785f124
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# folders
node_modules
test
.github
.husky
.next
Expand Down
1 change: 1 addition & 0 deletions apps/nestjs-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN mkdir -p apps/nestjs-server

# copying only the required packages
COPY --chown=node:node ./apps/nestjs-server/package.json apps/nestjs-server
COPY --chown=node:node ./apps/nestjs-server/tsconfig.*.json apps/nestjs-server
COPY --chown=node:node ./apps/nestjs-server apps/nestjs-server

# install node_modules
Expand Down

0 comments on commit 785f124

Please sign in to comment.