1
0
Fork 0

Kill supervisord

This commit is contained in:
Joao M 2022-08-18 18:49:07 +00:00
parent 78e9ae3d08
commit 71119268f2
9 changed files with 24 additions and 93 deletions

View file

@ -8,7 +8,7 @@ COPY easymapping /scripts/easymapping/
COPY tests/ /scripts/tests/
COPY assets /
RUN apk add --no-cache haproxy bash python3 py3-pip py-yaml supervisor docker certbot openssl \
RUN apk add --no-cache haproxy bash python3 py3-pip py-yaml docker certbot openssl \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& pip3 install --upgrade pip \
&& pip install -r requirements.txt \
@ -16,4 +16,4 @@ RUN apk add --no-cache haproxy bash python3 py3-pip py-yaml supervisor docker ce
&& openssl dhparam -out /etc/haproxy/dhparam 2048 \
&& openssl dhparam -out /etc/haproxy/dhparam-1024 1024
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisord.conf" ]
CMD ["/bin/bash", "-c", "/scripts/haproxy.sh" ]