Skip to content

Commit b25ca19

Browse files
committed
feat: add support for node 22
BREAKING CHANGE: drop support on node 18
1 parent 6bc9896 commit b25ca19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18 AS build-env
1+
FROM node:22 AS build-env
22
COPY package.json package-lock.json /app/
33
WORKDIR /app
44

@@ -8,7 +8,7 @@ RUN npm run build
88
# re-install without dev dependencies
99
RUN npm ci --omit=dev
1010

11-
FROM gcr.io/distroless/nodejs:18
11+
FROM gcr.io/distroless/nodejs22-debian12
1212
COPY --from=build-env /app /rotom
1313
WORKDIR /rotom
1414
CMD ["dist/packages/server/main.js"]

0 commit comments

Comments
 (0)