Skip to content

Commit

Permalink
use bun's production mode in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
viperadnan-git committed Jan 30, 2024
1 parent b4b07e3 commit 318577e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ FROM oven/bun:latest

WORKDIR /usr/src/app

ENV NODE_ENV=production

COPY package*.json ./

RUN bun install
RUN bun install --production

COPY . .

Expand Down

0 comments on commit 318577e

Please sign in to comment.