Now we have an API

This commit is contained in:
James Pattinson
2025-10-12 19:33:45 +00:00
parent 35f710049a
commit b8a91103e9
7 changed files with 660 additions and 3 deletions

16
api/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:3.11-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application
COPY . .
# Expose port
EXPOSE 8000
# Run the application
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]