diff options
author | terminaldweller <devi@terminaldweller.com> | 2023-11-08 21:44:11 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2023-11-08 21:44:11 +0000 |
commit | 36c81c5c07c6a42b9b06054c2db66610f0264dc2 (patch) | |
tree | b1847b48a889da9f016649144ae29053ca441c2b /Dockerfile | |
parent | was reading the cert and key in place of each other (diff) | |
download | blog-36c81c5c07c6a42b9b06054c2db66610f0264dc2.tar.gz blog-36c81c5c07c6a42b9b06054c2db66610f0264dc2.zip |
new blog post
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |