Skip to content

Commit

Permalink
Update to latest node version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeyso215 authored Jun 24, 2024
1 parent a465a2e commit 6ad78a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
CMD ["src/wikiless.js"]

0 comments on commit 6ad78a1

Please sign in to comment.