Upgrade min.ie packaging
This commit is contained in:
parent
c8000380b3
commit
20d395159b
8 changed files with 189 additions and 197 deletions
19
Containerfile
Normal file
19
Containerfile
Normal file
|
@ -0,0 +1,19 @@
|
|||
FROM python:3.13-slim-bookworm
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
ENV DEBUG false
|
||||
ENV SECRET_KEY unsafe
|
||||
|
||||
ADD pyproject.toml ./
|
||||
|
||||
RUN uv sync
|
||||
|
||||
ADD . .
|
||||
|
||||
RUN uv run ./manage.py collectstatic --noinput
|
||||
|
||||
CMD ["uv", "run", "gunicorn", "-b", "0.0.0.0:8000", "app.wsgi", "--log-file", "-"]
|
Loading…
Add table
Add a link
Reference in a new issue