2021-06-18 21:07:21 +00:00
|
|
|
FROM debian:10
|
2020-06-23 14:38:43 +00:00
|
|
|
|
2021-06-18 21:07:21 +00:00
|
|
|
COPY ./etc /tmp/etc
|
2020-06-23 14:38:43 +00:00
|
|
|
|
2021-06-18 21:07:21 +00:00
|
|
|
RUN apt-get update -y \
|
2020-06-23 14:38:43 +00:00
|
|
|
&& apt-get install nginx supervisor -y
|
2021-06-18 21:07:21 +00:00
|
|
|
&& cp -vr /tmp/etc / \
|
|
|
|
&& rm -rf /tmp/* \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2020-06-23 14:38:43 +00:00
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
EXPOSE 443
|
|
|
|
CMD ["/usr/bin/supervisord"]
|
|
|
|
|
|
|
|
|