initial commit: add dockerfile
This commit is contained in:
commit
ffa7ecb115
2 changed files with 44 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
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"]
|
Loading…
Add table
Reference in a new issue