aboutsummaryrefslogblamecommitdiffstats
path: root/terminaldweller.com/cargo/Dockerfile
blob: 79f99c94b3b5aef5a48443c33c82ea363d1dc7b9 (plain) (tree)
1
2
3
4
5
6
7


                                 
                                                                                                                                              


                                      
FROM alpine:3.15 AS certbuilder
RUN apk update && apk add openssl
WORKDIR /certs
RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=cargo.terminaldweller.com" -keyout server.key -out server.cert

FROM nginx:mainline-alpine
COPY --from=certbuilder /certs/ /certs