This commit is contained in:
Eugene Pankov 2021-07-26 15:57:28 +02:00
parent 8b5553676e
commit bae6e5603b
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
2 changed files with 4 additions and 1 deletions

View File

@ -12,4 +12,4 @@ WORKDIR /app
COPY --from=0 /usr /usr
COPY manage.py gunicorn.conf.py ./
COPY tabby tabby
CMD ["gunicorn"]
ENTRYPOINT ./start.sh

3
backend/start.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
./manage.py migrate
gunicorn