Skip to content

Commit

Permalink
🐞 fix (CHASE Backend): use correct wdir in run
Browse files Browse the repository at this point in the history
branch: deployment
  • Loading branch information
m1212e committed Mar 3, 2024
1 parent 051161d commit 397b2f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.chase.backend
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ RUN cd chase/backend && bun run build
FROM oven/bun:alpine AS release
WORKDIR /app/prod
# dependencies
COPY --from=builder /app/staging/chase/backend/out ./out/
COPY --from=builder /app/staging/chase/backend/out .
ENV NODE_ENV=production
ENV PORT=3001
# run the app
USER bun
EXPOSE 3001/tcp
ENTRYPOINT [ "bun", "out/main.js" ]
ENTRYPOINT [ "bun", "main.js" ]

0 comments on commit 397b2f1

Please sign in to comment.