update image, no supervisor

This commit is contained in:
dave 2024-01-30 16:30:59 -08:00
parent 84dd5f9c88
commit c410c300a0
1 changed files with 3 additions and 13 deletions

View File

@ -1,18 +1,8 @@
FROM ubuntu:trusty
FROM ubuntu:bionic
RUN apt-get update && \
apt-get install -y nginx-light supervisor && \
apt-get install -y nginx-extras && \
rm -rf /var/lib/apt/lists/* && \
echo 'daemon off;' >> /etc/nginx/nginx.conf
# Supervisor confs
ADD supervisor.conf /etc/supervisor/conf.d/supervisor.conf
ADD supervisor-nginx.conf /etc/supervisor/conf.d/nginx.conf
# Startup tasks
ENTRYPOINT ["supervisord"]
EXPOSE 80
EXPOSE 443
ENTRYPOINT ["/usr/sbin/nginx"]