mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
Added drf spectacular documentation generation to Dockerfile
This commit is contained in:
parent
b059c5f1cd
commit
771300f933
1 changed files with 3 additions and 0 deletions
|
@ -37,5 +37,8 @@ RUN python stude/manage.py makemigrations
|
|||
# Run custom migrate
|
||||
RUN python stude/manage.py custom_migrate
|
||||
|
||||
# Generate DRF Spectacular Documentation
|
||||
RUN python stude/manage.py spectacular --color --file stude/schema.yml
|
||||
|
||||
# Expose port 8000 for the web server
|
||||
EXPOSE 8000
|
||||
|
|
Loading…
Reference in a new issue