Files
dknog-membership/Dockerfile
Allan Eising c2ceaeb989
Some checks failed
release-tag / release-image (push) Failing after 3m50s
Initial commit
2025-03-03 21:59:08 +01:00

13 lines
306 B
Docker

FROM python:3.12-slim-bookworm
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
RUN apt-get update
RUN apt-get install -y libmariadb-dev build-essential
ADD . /app
WORKDIR /app
RUN uv sync --frozen --no-cache
CMD ["/app/.venv/bin/fastapi", "run", "api.py", "--port", "8888", "--host", "0.0.0.0"]