aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2023-11-08 21:44:11 +0000
committerterminaldweller <devi@terminaldweller.com>2023-11-08 21:44:11 +0000
commit36c81c5c07c6a42b9b06054c2db66610f0264dc2 (patch)
treeb1847b48a889da9f016649144ae29053ca441c2b /Dockerfile
parentwas reading the cert and key in place of each other (diff)
downloadblog-36c81c5c07c6a42b9b06054c2db66610f0264dc2.tar.gz
blog-36c81c5c07c6a42b9b06054c2db66610f0264dc2.zip
new blog post
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
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