Skip to content

Commit 1501b30

Browse files
map backend code to web container (temporary fix)
1 parent 6f84932 commit 1501b30

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docker-compose-prod.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ services:
2828
- DEPLOY_ENV=production
2929
volumes:
3030
- ./Videos/:/usr/src/app/Videos
31+
# To be fixed, backend code is mapped here to share static files (react build) with nginx
32+
- ./backend/:/usr/src/app/
3133
- /static/
3234
- ipython:/root/.ipython
3335
command: bash -c "python3 /usr/src/app/manage.py collectstatic --no-input && gunicorn StreamingServer.wsgi:application --bind 0.0.0.0:8000"

0 commit comments

Comments
 (0)