Skip to content

Commit

Permalink
Try setting NODE_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
kixelated committed Dec 12, 2024
1 parent 1f4ddd7 commit c221bb5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ FROM oven/bun:latest
WORKDIR /app

COPY . .

ENV NODE_ENV=production
RUN bun install --frozen-lockfile --production
RUN bun pack

ENV HOST="0.0.0.0"
CMD [ "bun", "./dist/server/entry.mjs" ]
CMD [ "bun", "run", "./dist/server/entry.mjs" ]

0 comments on commit c221bb5

Please sign in to comment.