run with docker compose

This commit is contained in:
2025-12-18 19:46:57 +01:00
parent c9f227c70c
commit 86f494f840
2 changed files with 65 additions and 0 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM ghcr.io/astral-sh/uv:alpine
EXPOSE 8000
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PORT=8000 \
UV_NO_DEV=1
WORKDIR /app
COPY ./pyproject.toml /app/
RUN uv sync
COPY . /app
VOLUME ["/app"]
CMD uv run fastapi run cutt/main.py