add docker config

This commit is contained in:
Matthew Ryan Dillon 2025-05-26 17:49:19 -04:00
parent 021cb68cdb
commit 831e4587ac

6
Dockerfile Normal file
View file

@ -0,0 +1,6 @@
FROM python:3.13-slim-bookworm
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
ADD . /app
WORKDIR /app
RUN uv sync --frozen --no-cache
CMD ["/app/.venv/bin/fastapi", "run", "main.py", "--port", "8887"]