From 6ad78a13a3bc21060b02dfa78dd8ff95fbb7827b Mon Sep 17 00:00:00 2001 From: xbdm <114549769+xbdmHQ@users.noreply.github.com> Date: Mon, 24 Jun 2024 09:27:33 -0400 Subject: [PATCH] Update to latest node version --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 920aa5c..d7ff02e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ #https://hub.docker.com/_/node/ -FROM node:20-alpine3.17 AS build +FROM node:22.3.0-alpine3.19 AS build WORKDIR /wikiless COPY . /wikiless RUN npm install --no-optional -FROM gcr.io/distroless/nodejs20-debian11 +FROM gcr.io/distroless/nodejs22-debian11 COPY --from=build /wikiless /wikiless WORKDIR /wikiless COPY wikiless.config config.js -CMD ["src/wikiless.js"] \ No newline at end of file +CMD ["src/wikiless.js"]