first commit

This commit is contained in:
2025-04-17 07:04:59 +02:00
commit 97568607ca
4 changed files with 60 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# Dockerfile
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the entire project (app folder inside container too)
COPY . .
# Expose port
EXPOSE 8000
# Run the server from within the "app" package
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]