This commit is contained in:
Eugene Pankov 2021-09-02 23:14:57 +02:00
parent 4617ceaf91
commit a6fe06870a
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
2 changed files with 3 additions and 1 deletions

View File

@ -16,4 +16,7 @@ COPY tabby tabby
COPY start.sh /start.sh
RUN ["chmod", "+x", "/start.sh"]
RUN ./manage.py collectstatic --noinput
CMD ["/start.sh"]

View File

@ -1,5 +1,4 @@
#!/bin/sh
cd /app
./manage.py migrate
./manage.py collectstatic --noinput
gunicorn