nopaque/docker-entrypoint.sh

13 lines
168 B
Bash
Executable File

#!/bin/sh
if [ $# -eq 0 ]
then
venv/bin/python -u opaque.py
elif [ $1 == "flask" ]
then
echo "$@"
venv/bin/python -m $@
else
echo "Unknown command"
fi