File tree 1 file changed +4
-6
lines changed
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
2
2
3
3
WORKDIR /app
4
4
@@ -10,11 +10,9 @@ COPY . /app
10
10
11
11
RUN npm run build
12
12
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
18
16
19
17
LABEL org.opencontainers.image.title="Mafl"
20
18
LABEL org.opencontainers.image.description="Minimalistic flexible homepage"
You can’t perform that action at this time.
0 commit comments