re-add docker files for #19

This commit is contained in:
2023-05-04 09:46:16 -04:00
parent d0242b456d
commit efd8f86e48
3 changed files with 89 additions and 0 deletions

11
entrypoint.sh Normal file
View File

@ -0,0 +1,11 @@
#!/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