Skip to content

Commit bd17c93

Browse files
committed
build: use node:20-alpine
1 parent 7a8982c commit bd17c93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: Dockerfile

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

33
LABEL vendor="Onify"
44
LABEL code="nodejs"
@@ -13,6 +13,7 @@ COPY ./src ./src
1313
COPY ./resources ./resources
1414
COPY ./custom ./custom
1515

16+
RUN apk add --no-cache findutils
1617
RUN find . -name 'package.json' -not -path '**/node_modules/*' -execdir npm ci \;
1718

1819
RUN npm prune --production

0 commit comments

Comments
 (0)