mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
Added collectstatic to docker-compose
This commit is contained in:
parent
18679541be
commit
8632707e28
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ services:
|
||||||
- "8083:8000" # Expose port 8083 for the web server
|
- "8083:8000" # Expose port 8083 for the web server
|
||||||
environment:
|
environment:
|
||||||
- PYTHONBUFFERED=1
|
- PYTHONBUFFERED=1
|
||||||
command: ["sh", "-c", "python stude/manage.py makemigrations && python stude/manage.py custom_migrate && python stude/manage.py runserver"]
|
command: ["sh", "-c", "python stude/manage.py collectstatic && python stude/manage.py makemigrations && python stude/manage.py custom_migrate && python stude/manage.py runserver"]
|
||||||
volumes:
|
volumes:
|
||||||
- .:/code # For hotreloading
|
- .:/code # For hotreloading
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Reference in a new issue