atc_mithermometer_gateway/python/docker_entrypoint.sh

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