[Chore] Build Docker Images on pushes to develop, main (#444)

Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#444
This commit is contained in:
2026-08-05 08:36:24 +12:00
parent 032ebc30a2
commit 2504d7045b
3 changed files with 79 additions and 1 deletions

View File

@ -58,6 +58,10 @@ COPY tests tests
COPY utilities utilities
COPY manage.py .
# Used to run migrations etc
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Install frontend deps
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
@ -100,4 +104,5 @@ USER django
EXPOSE 8000
CMD ["gunicorn", "envipath.wsgi:application", "--bind", "0.0.0.0:8000", "--workers", "3"]
ENTRYPOINT ["/entrypoint.sh"]
CMD ["gunicorn", "envipath.wsgi:application", "--bind", "0.0.0.0:8000", "--workers", "8"]