1
0
mirror of synced 2024-11-14 17:57:44 +01:00
artemis/entrypoint.sh
2023-05-04 09:46:16 -04:00

12 lines
199 B
Bash

#!/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