Skip to content

Commit

Permalink
fix: reverted previous tag (1.3.1) changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNaubit committed Jul 1, 2024
1 parent c18258f commit 219de12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ RUN bun run build:prod
FROM oven/bun:distroless

# Copy the compiled standalone file from the builder stage
COPY --from=builder --chown=nonroot:nonroot /home/bun/app/node_modules /home/nonroot/app/node_modules
COPY --from=builder --chown=nonroot:nonroot /home/bun/app/dist /home/nonroot/app/dist
COPY --from=builder --chown=nonroot:nonroot /home/bun/app/node_modules /node_modules
COPY --from=builder --chown=nonroot:nonroot /home/bun/app/dist /dist

ENV NODE_ENV="production"

Expand All @@ -27,4 +27,4 @@ USER nonroot
# Set the entrypoint to the compiled standalone file
EXPOSE 3000
ENTRYPOINT ["bun"]
CMD ["/home/nonroot/app/dist/index.js"]
CMD ["/dist/index.js"]

0 comments on commit 219de12

Please sign in to comment.