mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
create /data for AIO /dev containers, fixed wrong dir on entrypoint for dev
This commit is contained in:
parent
472c8b25bb
commit
9e0ca1f35a
3 changed files with 3 additions and 1 deletions
|
|
@ -26,6 +26,7 @@ RUN apk add \
|
|||
redis
|
||||
|
||||
RUN \
|
||||
mkdir /data && \
|
||||
virtualenv /dispatcharrpy && \
|
||||
git clone https://github.com/Dispatcharr/Dispatcharr /app && \
|
||||
cd /app && \
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ services:
|
|||
- "5656:5656"
|
||||
- 9191:9191
|
||||
volumes:
|
||||
- ../:/app
|
||||
- /home/ghost/code/Dispatcharr:/app
|
||||
environment:
|
||||
- DISPATCHARR_ENV=dev
|
||||
- DB_ENGINE=sqlite
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue