atc_mithermometer_gateway/python/docker_entrypoint.sh
2024-06-29 03:37:13 +02:00

10 lines
123 B
Bash

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