update image, no supervisor
This commit is contained in:
parent
84dd5f9c88
commit
c410c300a0
16
Dockerfile
16
Dockerfile
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue