fox-proxy/Dockerfile

16 lines
245 B
Docker
Raw Normal View History

2021-06-18 21:07:53 +00:00
FROM ubuntu:20.04
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"]