File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1- FROM node:19 -alpine as build
1+ FROM node:18 -alpine as build
22
33WORKDIR /app
44
@@ -10,11 +10,9 @@ COPY . /app
1010
1111RUN npm run build
1212
13- # To reduce the weight of the docker image, you should use "gcr.io/distroless/nodejs20".
14- # There are build issues on the Node 20 version. Switch to "distroless" when Node 22 is released or they fix a bug in 20
15- # More https://github.com/nodejs/docker-node/issues/1946
16- # FORM gcr.io/distroless/nodejs20 as prod
17- FROM build
13+ # There are build issues on the Node 20 version. Jump to 20 when the bug will be fixed.
14+ # https://github.com/nodejs/docker-node/issues/1946
15+ FROM gcr.io/distroless/nodejs18
1816
1917LABEL org.opencontainers.image.title="Mafl"
2018LABEL org.opencontainers.image.description="Minimalistic flexible homepage"
You can’t perform that action at this time.
0 commit comments