Nathan Windisch 1b045a4540
All checks were successful
ci / docker (push) Successful in 24s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
re-added back the host param
2025-03-20 07:21:06 +00:00

8 lines
212 B
Docker

FROM python:3.12-slim-bookworm
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
ADD . /app
WORKDIR /app
RUN uv sync --frozen
EXPOSE 8000
CMD ["uv", "run", "fastapi", "dev", "main.py", "--host", "0.0.0.0"]