add collect static command for rest/swagger ui

This commit is contained in:
catborise
2022-08-24 10:29:29 +03:00
parent 234638a85c
commit 46514d0897
6 changed files with 16 additions and 7 deletions

View File

@@ -41,6 +41,7 @@ RUN python3 -m venv venv && \
RUN . venv/bin/activate && \
python3 manage.py migrate && \
python3 manage.py collectstatic --noinput && \
chown -R www-data:www-data /srv/webvirtcloud
# Setup Nginx