Update entrypoint-dev.sh

I detected some wrong path, i fixed and i think this will fix https://github.com/certat/intelmq-docker/issues/20
This commit is contained in:
Einar Felipe Lanfranco
2023-10-04 00:35:16 -03:00
committed by GitHub
parent 336b93e68c
commit d8f07d0a5a

View File

@@ -24,7 +24,7 @@ fi
if [[ $1 == "selftest" ]] if [[ $1 == "selftest" ]]
then then
export INTELMQ_TEST_EXOTIC=1 export INTELMQ_TEST_EXOTIC=1
pytest-3 /etc/intelmq/intelmq/tests pytest-3 /opt/intelmq/intelmq/tests
else else
cd /etc/intelmq-api && uvicorn intelmq_api.main:app --port 8080 --host 0.0.0.0 cd /opt/intelmq-api && uvicorn intelmq_api.main:app --port 8080 --host 0.0.0.0
fi fi