Skip to content

Commit 4fdde33

Browse files
committed
apk upgrade was not necessary here
1 parent 67b4471 commit 4fdde33

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ RUN set -ex \
77
# Build JS-Application
88
&& npm install --production \
99
# Generate SSL-certificate (for HTTPS)
10-
&& apk update && apk upgrade \
1110
&& apk --no-cache add openssl \
1211
&& openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout privkey.pem -out fullchain.pem \
1312
-subj "/C=GB/ST=London/L=London/O=Mendhak/CN=my.example.com" \
@@ -20,7 +19,7 @@ RUN set -ex \
2019
&& chown -R node:node /app \
2120
&& chmod +r /app/privkey.pem
2221

23-
FROM node:16-alpine AS final
22+
FROM node:22-alpine AS final
2423
LABEL \
2524
org.opencontainers.image.title="http-https-echo" \
2625
org.opencontainers.image.description="Docker image that echoes request data as JSON; listens on HTTP/S, with various extra features, useful for debugging." \

0 commit comments

Comments
 (0)