11 lines
268 B
Docker
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"]
|
||
|
|