Skip to content

Commit

Permalink
fix: missing modules for production
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Dec 17, 2023
1 parent 1b8d2e0 commit e0a5137
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ RUN bun build ./src/index.ts --target bun --outdir ./build
FROM oven/bun:1.0.15-alpine
WORKDIR /app
COPY --from=builder /app/build/index.js /app/index.js
COPY --from=builder /app/package.json /app/package.json
COPY --from=builder /app/bun.lockb /app/bun.lockb
COPY --from=builder /app/node_modules /app/node_modules
COPY --from=builder /app/config /app/config
ENTRYPOINT ["bun", "run", "index.js"]

0 comments on commit e0a5137

Please sign in to comment.