Add Docker support with Dockerfile and docker-compose; implement entrypoint script for application startup
This commit is contained in:
parent
2c0e7b7699
commit
b12f151b8d
3 changed files with 30 additions and 3 deletions
|
@ -10,9 +10,8 @@ USER nummi
|
|||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV NUMMI_CONFIG=/nummi/config.toml
|
||||
|
||||
RUN uv sync --locked
|
||||
|
||||
WORKDIR /app/nummi
|
||||
|
||||
CMD ["uv", "run", "gunicorn", "--bind", "0.0.0.0:8000", "--workers", "2", "nummi.wsgi:application"]
|
||||
CMD ["./entrypoint.sh"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue