Skip to content

Commit 64dd598

Browse files
authored
deps: [NET-1410] Bump NodeJS to v22 (#28)
Resolves also this issues in Docker image build: ``` #19 0.931 npm warn EBADENGINE Unsupported engine { #19 0.931 npm warn EBADENGINE package: 'lru-cache@11.0.2', #19 0.931 npm warn EBADENGINE required: { node: '20 || >=22' }, #19 0.931 npm warn EBADENGINE current: { node: 'v18.20.6', npm: '10.8.2' } #19 0.931 npm warn EBADENGINE } ```
1 parent 005ad9e commit 64dd598

File tree

4 files changed

+1745
-732
lines changed

4 files changed

+1745
-732
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM node:18-bullseye as build
1+
FROM node:22-bullseye as build
22
WORKDIR /usr/src/app
33
COPY . /usr/src/app
44
RUN npm ci
55
RUN npm run build
66
RUN chmod +x dist/bin/*.js
77
RUN rm -rf node_modules
88

9-
FROM node:18-bullseye
9+
FROM node:22-bullseye
1010
USER node
1111
WORKDIR /usr/src/app
1212
COPY --chown=node:node --from=build /usr/src/app/ .

0 commit comments

Comments
 (0)