1
0
Fork 0

Fix unit tests

This commit is contained in:
Joao M 2022-08-25 00:35:16 +00:00
parent 0687ba60a2
commit 3a0b33041c
22 changed files with 63 additions and 67 deletions

View file

@ -13,9 +13,8 @@ RUN apk add --no-cache haproxy bash python3 py3-pip py-yaml certbot openssl \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& pip3 install --upgrade pip \
&& pip install -r requirements.txt \
&& pytest -s -vv tests/ \
&& openssl dhparam -out /etc/haproxy/dhparam 2048 \
&& openssl dhparam -out /etc/haproxy/dhparam-1024 1024
# && pytest -s tests/ \
CMD ["/usr/bin/python", "-u", "/scripts/main.py" ]