Add simple FastAPI backend

This commit is contained in:
Luke Calladine
2026-01-12 16:29:06 +00:00
parent 6ae7b7327e
commit ce73a77783
4 changed files with 33 additions and 0 deletions

12
backend/docker/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM python:3.13.7-slim-bookworm
WORKDIR /app
# Copy requirements and install Python dependencies
COPY ./requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Copy the app code and tests
COPY ../src ./src
CMD ["python", "src/main.py"]