1
0
mirror of synced 2024-12-01 00:57:16 +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