We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54bb3b5 commit a71add0Copy full SHA for a71add0
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM node:20-alpine as build
+FROM node:21-alpine as build
2
3
WORKDIR /app
4
@@ -10,7 +10,11 @@ COPY . /app
10
11
RUN npm run build
12
13
-FROM gcr.io/distroless/nodejs20 as prod
+# 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
18
19
LABEL org.opencontainers.image.title="Mafl"
20
LABEL org.opencontainers.image.description="Minimalistic flexible homepage"
0 commit comments