nginx-certbot/Dockerfile
2021-06-10 05:53:47 +02:00

11 lines
268 B
Docker

FROM alpine:latest
RUN apk update && apk upgrade
RUN apk add --update --no-cache python3 nginx certbot
RUN mkdir -p /run/nginx
RUN mkdir -p /var/www/html
COPY default.conf /etc/nginx/http.d/
COPY index.html /var/www/html/
COPY run.sh /bin/
ENTRYPOINT ["/bin/run.sh"]