1
0
mirror of synced 2024-11-28 07:50:48 +01:00
artemis/entrypoint.sh

12 lines
199 B
Bash
Raw Normal View History

2023-05-04 15:46:16 +02:00
#!/bin/bash
if [[ -z "${CFG_DEV}" ]]; then
echo Production mode
python3 index.py
else
echo Development mode
python3 dbutils.py create
nodemon -w aime --legacy-watch index.py
fi