Skip to content

Commit

Permalink
Upgrade to node 22 (again) (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
brookslybrand authored Dec 19, 2024
1 parent 271a0d4 commit bd523c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
FROM node:20-alpine AS development-dependencies-env
FROM node:22-alpine AS development-dependencies-env
COPY . /app
WORKDIR /app
RUN npm ci

FROM node:20-alpine AS production-dependencies-env
FROM node:22-alpine AS production-dependencies-env
COPY ./package.json package-lock.json .npmrc /app/
WORKDIR /app
RUN npm ci --omit=dev

FROM node:20-alpine AS build-env
FROM node:22-alpine AS build-env
COPY . /app/
COPY --from=development-dependencies-env /app/node_modules /app/node_modules
WORKDIR /app
RUN npm run build

FROM node:20-alpine
FROM node:22-alpine
COPY ./package.json package-lock.json server.js /app/


Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@
"vitest": "^1.4.0"
},
"engines": {
"node": ">=20"
"node": ">=22"
}
}

0 comments on commit bd523c0

Please sign in to comment.