create /data for AIO /dev containers, fixed wrong dir on entrypoint for dev

This commit is contained in:
kappa118 2025-03-01 19:43:02 -05:00
parent 472c8b25bb
commit 9e0ca1f35a
3 changed files with 3 additions and 1 deletions

View file

@ -26,6 +26,7 @@ RUN apk add \
redis
RUN \
mkdir /data && \
virtualenv /dispatcharrpy && \
git clone https://github.com/Dispatcharr/Dispatcharr /app && \
cd /app && \

View file

@ -9,7 +9,7 @@ services:
- "5656:5656"
- 9191:9191
volumes:
- ../:/app
- /home/ghost/code/Dispatcharr:/app
environment:
- DISPATCHARR_ENV=dev
- DB_ENGINE=sqlite

View file

@ -6,6 +6,7 @@ case "$DISPATCHARR_ENV" in
echo "DISPATCHARR_ENV is set to 'dev'. Running Development Program..."
apk add nodejs npm
cd /app/frontend && npm install
cd /app
exec /usr/sbin/uwsgi --ini uwsgi.dev.ini
;;
"aio")