Skip to content

Commit

Permalink
Try adding !dist folder in docker ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
hanapotski committed Oct 24, 2024
1 parent 0b2718d commit fde9a34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
*.md
!README.md
**/node_modules
**/db/demo-db
**/db/demo-db
!dist/
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RUN npm ci --quiet

COPY --from=serverBuilder /usr/src/app/build ./
COPY ./server/uploads ./uploads
COPY --from=clientBuilder /usr/src/app/build ./client/dist
COPY --from=clientBuilder app/build ./client/dist

# we don't want to run as sudo so create group and user
RUN groupadd -r fola && useradd --no-log-init -r -g fola fola
Expand Down

0 comments on commit fde9a34

Please sign in to comment.