[Fix] Entrypoint Location (#446)

Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#446
This commit is contained in:
2026-08-05 09:15:09 +12:00
parent ca6e926b30
commit f4f284925a

View File

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