Refactor much needed docker setup

- Build static files inside seperate container
- Remove unnecessary env variables
This commit is contained in:
sonny 2020-05-02 20:21:22 +02:00
parent d61b3a9498
commit 7fc899937d
5 changed files with 59 additions and 37 deletions

View file

@ -1,5 +1,5 @@
#!/bin/bash
# This file should only be used in conjuction with docker-compose
poetry run /app/src/manage.py migrate
poetry run /app/src/manage.py runserver 0.0.0.0:8000
python /app/src/manage.py migrate
python /app/src/manage.py runserver 0.0.0.0:8000