FROM ubuntu:20.04
COPY ./etc /tmp/etc
RUN apt-get update -y \
&& apt-get install nginx supervisor -y \
&& cp -vr /tmp/etc / \
&& rm -rf /tmp/* \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 80
EXPOSE 443
CMD ["/usr/bin/supervisord"]