1
0
Fork 0

More adjustmemts

This commit is contained in:
Joao M 2022-08-24 02:33:21 +00:00
parent 7d959f892a
commit 877a4b3383
7 changed files with 69 additions and 36 deletions

View file

@ -11,11 +11,11 @@ COPY assets /
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 \
# && pytest -s tests/ \
# && openssl dhparam -out /etc/haproxy/dhparam 2048 \
# && openssl dhparam -out /etc/haproxy/dhparam-1024 1024
&& pip3 install --upgrade pip \
&& pip install -r requirements.txt \
&& openssl dhparam -out /etc/haproxy/dhparam 2048 \
&& openssl dhparam -out /etc/haproxy/dhparam-1024 1024
# CMD ["/bin/bash", "-c", "/scripts/haproxy.sh" ]
# && pytest -s tests/ \
CMD ["/usr/bin/python", "-u", "/scripts/main.py" ]