Skip to content

Commit a15b4f1

Browse files
author
hywax
committed
build: bump node image
1 parent 224c486 commit a15b4f1

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Diff for: Dockerfile

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18-alpine as build
1+
FROM node:20-alpine as build
22

33
WORKDIR /app
44

@@ -9,15 +9,9 @@ RUN yarn install
99

1010
COPY . /app
1111

12-
# todo remove after merge https://github.com/vitejs/vite-plugin-vue/pull/320
13-
RUN apk add --no-cache patch
14-
RUN patch -p1 -i /app/patches/@vitejs+plugin-vue+5.0.0.patch
15-
1612
RUN yarn run build
1713

18-
# There are build issues on the Node 20 version. Jump to 20 when the bug will be fixed.
19-
# https://github.com/nodejs/docker-node/issues/1946
20-
FROM gcr.io/distroless/nodejs18
14+
FROM gcr.io/distroless/nodejs20
2115

2216
LABEL org.opencontainers.image.title="Mafl"
2317
LABEL org.opencontainers.image.description="Minimalistic flexible homepage"

0 commit comments

Comments
 (0)