aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-05-20 06:21:47 +0000
committerterminaldweller <thabogre@gmail.com>2022-05-20 06:21:47 +0000
commit9efecb455e75cedae0583b0bab16cf166e64bf7a (patch)
tree4df4383035157a5e7aa6a71e2f84d402dc5cd41d /Dockerfile
parentadded icons for save,load,delete (diff)
downloadmdrtl-9efecb455e75cedae0583b0bab16cf166e64bf7a.tar.gz
mdrtl-9efecb455e75cedae0583b0bab16cf166e64bf7a.zip
enabled https and http2
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 6122c76..f10d3ab 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,6 +2,7 @@ FROM alpine:3.15 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
+RUN openssl pkcs12 -export -out cert.p12 -inkey server.key -in server.cert -password pass:thequicklazybrownfox
FROM gradle:7.3.3-jdk11-alpine AS builder
WORKDIR /home/springapp