1
0
mirror of https://github.com/Eugeny/tabby-web.git synced 2025-08-08 02:11:56 +00:00
This commit is contained in:
Eugene Pankov
2021-07-26 15:57:28 +02:00
parent 8b5553676e
commit bae6e5603b
2 changed files with 4 additions and 1 deletions

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

3
backend/start.sh Executable file

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