add docker-entrypoint
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-12-29 22:20:14 +01:00
parent d9924e13e8
commit 5cef411aff
2 changed files with 15 additions and 1 deletions

View File

@ -16,5 +16,6 @@ EXPOSE 8080
WORKDIR /app
COPY ./manage.py ./
COPY ./docker-entrypoint.sh ./
ENTRYPOINT ["gunicorn", "-b", "0.0.0.0:8080", "--workers", "4", "--threads", "4", "geogame.wsgi:application"]
ENTRYPOINT ["bash", "/app/docker-entrypoint.sh"]