Mintzy_API / Dockerfile
Quantmask's picture
Upload 3 files
fc61a2f verified
Raw History Blame Contribute Delete
277 Bytes
FROM python:3.10-slim
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy all project files into the container root
COPY . .
# Run FastAPI app
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]