Skip to content

Commit

Permalink
Update to Node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
siiptuo committed Jan 8, 2025
1 parent e4e6efe commit bf4e575
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM node:18 AS dev
FROM node:22 AS dev
USER node
WORKDIR /app

FROM node:18 AS builder
FROM node:22 AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . ./
RUN npm run build

FROM node:18 AS prod
FROM node:22 AS prod
WORKDIR /app
ENV NODE_ENV=production
COPY --from=builder /app/package*.json ./
Expand Down

0 comments on commit bf4e575

Please sign in to comment.