Skip to content

Commit

Permalink
fix: docker image node version
Browse files Browse the repository at this point in the history
to build with the same node version than in package.json

Refs: #98
  • Loading branch information
Purexo authored and Xstoudi committed May 18, 2024
1 parent 79f2b7b commit f552cba
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:20.8.1-bookworm-slim as builder
FROM node:22.1.0-bookworm-slim as builder

WORKDIR /app

COPY . .
RUN npm ci && npm run build

FROM node:20.8.1-bookworm-slim as prod
FROM node:22.1.0-bookworm-slim as prod

ENV NODE_ENV production

Expand Down

0 comments on commit f552cba

Please sign in to comment.