Skip to content

Commit

Permalink
💡 idea: Embed the entire node build into the final image.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Apr 10, 2024
1 parent 6863a9c commit 0b6f239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ FROM gcr.io/distroless/cc-debian${DEBIAN_VERSION}

COPY --from=build /etc/passwd /etc/passwd
COPY --from=build --chown=app:app /home/app/dist/bundle /home/app/dist
COPY --from=build --chown=app:app /home/app/node/bin /home/app/node/bin
COPY --from=build --chown=app:app /home/app/node /home/app/node

USER app
WORKDIR /home/app
Expand Down

0 comments on commit 0b6f239

Please sign in to comment.