bunkerweb/autoconf/Dockerfile-amd64
2021-03-12 17:31:26 +01:00

17 lines
443 B
Plaintext

FROM amd64/alpine
RUN apk add py3-pip apache2-utils bash certbot curl logrotate && \
pip3 install docker requests && \
mkdir /opt/entrypoint && \
mkdir -p /opt/confs/site && \
mkdir -p /opt/confs/global
COPY confs/site/ /opt/confs/site
COPY entrypoint/* /opt/entrypoint/
COPY autoconf/* /opt/entrypoint/
RUN chmod +x /opt/entrypoint/*.py /opt/entrypoint/*.sh
VOLUME /etc/nginx
ENTRYPOINT ["/opt/entrypoint/entrypoint.sh"]