aboutsummaryrefslogblamecommitdiffstats
path: root/terminaldweller.com/gemini/Dockerfile
blob: 1c576fd7469ddaa51343052c95405ed0712a8c7e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                              
                                 
                     
#FROM alpine:3.16 as certbuilder
#RUN apk add openssl
#WORKDIR /certs
#RUN openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem -days 3650 -nodes -subj "/CN=gemini.terminaldweller.com"

FROM alpine:3.16 as builder
RUN apk update \
      && apk upgrade \
      && apk add --no-cache cargo \
      && cargo install agate
#COPY --from=certbuilder /certs /certs
# COPY ./index.gmi /srv/index.gmi
#ENTRYPOINT ["agate"]