atc_mithermometer_gateway/python/docker_entrypoint.sh
2024-07-03 00:27:48 +02:00

10 lines
114 B
Bash

#!/bin/sh
env > .env
if [ "$API" = true ]; then
python3.12 api_endpoints.py &
sleep 1
fi
python3.12 main.py