Improved Restart Beaviaor

This commit is contained in:
2020-08-27 22:03:52 +02:00
parent 54a9000743
commit 38da33df67

View File

@@ -3,6 +3,7 @@ version: '2'
services:
web:
build: .
restart: always
command: bash -c "sed -i 's/staticfiles/static/g' /usr/local/lib/python3.8/site-packages/rest_framework_swagger/templates/rest_framework_swagger/index.html && python3 manage.py runserver 0.0.0.0:8000"
volumes:
- .:/code