From 36c81c5c07c6a42b9b06054c2db66610f0264dc2 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 8 Nov 2023 16:44:11 -0500 Subject: new blog post --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 551946e..233e028 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM alpine:3.15 AS certbuilder +FROM alpine:3.18 AS certbuilder RUN apk add openssl WORKDIR /certs RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=localhost" -keyout server.key -out server.cert -FROM node:lts-alpine3.15 +FROM node:lts-alpine3.18 COPY --from=certbuilder /certs/ /certs COPY ./package.* /server/ RUN cd /server && npm install --production -- cgit v1.2.3