Skip to content

Commit

Permalink
Use node:20.16.0-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonEtco committed Aug 13, 2024
1 parent a8cef24 commit d94fd26
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
@@ -1,11 +1,11 @@
FROM node:slim AS builder
FROM node:20.16.0-alpine AS builder
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build

FROM node:slim
FROM node:20.16.0-alpine
ENV NODE_ENV=production
USER node
WORKDIR /usr/src/app
Expand Down

0 comments on commit d94fd26

Please sign in to comment.