12 lines
254 B
Text
12 lines
254 B
Text
|
FROM alpine:latest
|
||
|
|
||
|
RUN apk add --no-cache nginx python3 py3-virtualenv
|
||
|
|
||
|
RUN python3 -m venv /venv
|
||
|
RUN /venv/bin/pip install -U pip certbot certbot-nginx
|
||
|
|
||
|
RUN apk del py3-virtualenv && rm -rf /var/cache/apk
|
||
|
|
||
|
COPY ./entrypoint.sh /
|
||
|
CMD ["/entrypoint.sh"]
|