Update Dockerfile logic

This commit is contained in:
Patrick Jentsch
2022-11-11 14:59:14 +01:00
parent 1faa98b4e8
commit 346f8f1dc5
4 changed files with 219 additions and 106 deletions

View File

@ -1,7 +1,5 @@
#!/bin/bash
source venv/bin/activate
display_help() {
local script_name=$(basename "${0}")
echo ""
@ -26,7 +24,7 @@ if [[ "${#}" -eq 0 ]]; then
sleep 5
done
fi
python nopaque.py
python3 nopaque.py
elif [[ "${1}" == "flask" ]]; then
flask "${@:2}"
elif [[ "${1}" == "--help" || "${1}" == "-h" ]]; then