Skip to content

Commit

Permalink
Try "alpine" again.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonlary committed Jan 2, 2024
1 parent b703063 commit 8db79b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ RUN npm ci
COPY . .
RUN npm run build

FROM node:20
FROM node:20-alpine
WORKDIR /app
ENV NODE_ENV=production
COPY package*.json ./
RUN npm ci --production
RUN npm ci
COPY --from=builder /app/out ./out
CMD [ "node", "out/index.js" ]

0 comments on commit 8db79b2

Please sign in to comment.