force rewrited code

This commit is contained in:
Krzysztof Cieślik
2026-04-15 17:38:49 +02:00
parent 6bbb24e633
commit 9a7cf8518d
16 changed files with 3167 additions and 109 deletions

22
backend/app/Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM python:3.11-slim
WORKDIR /app
# Install uv package manager
RUN pip install uv
# Copy project configuration
COPY pyproject.toml .
# Copy uv.lock if it exists, otherwise just the pyproject (using wildcard)
COPY uv.lock* ./
# Install dependencies using uv
RUN uv sync
# Copy application code
COPY . .
EXPOSE 8000
# Run the FastAPI server
CMD ["uv", "run", "python", "main.py"]