Update Dockerfile

This commit is contained in:
Eugene Pankov 2021-07-26 20:30:39 +02:00
parent d7f533d544
commit 5aae427b26
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -11,6 +11,9 @@ RUN poetry install --no-dev --no-ansi --no-interaction
FROM node:12-alpine AS package
WORKDIR /app
COPY --from=0 /usr /usr
COPY start.sh manage.py gunicorn.conf.py ./
COPY manage.py gunicorn.conf.py ./
COPY tabby tabby
ENTRYPOINT ["/app/start.sh"]
COPY start.sh /start.sh
RUN chmod +x /start.sh
CMD ["/start.sh"]