2022-11-28 09:33:21 +00:00
|
|
|
FROM ubuntu:22.10
|
2022-05-12 14:35:29 +00:00
|
|
|
|
|
|
|
RUN apt-get update -y \
|
|
|
|
&& apt-get install -y \
|
|
|
|
nginx \
|
|
|
|
supervisor \
|
|
|
|
certbot \
|
|
|
|
python3-certbot-nginx \
|
|
|
|
cron \
|
2022-11-28 09:33:21 +00:00
|
|
|
libnginx-mod-stream \
|
2022-05-12 14:35:29 +00:00
|
|
|
&& rm -rf /tmp/* \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
COPY ./rootfs /
|
2020-06-23 14:39:28 +00:00
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
EXPOSE 443
|
|
|
|
CMD ["/usr/bin/supervisord"]
|
|
|
|
|
|
|
|
|