Spaces:
Paused

botBot / Dockerfile
Ngwese175's picture
Create Dockerfile
e5a29b9 verified
Raw History Blame Contribute Delete
303 Bytes
FROM python:3.9-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy source code
COPY . .
# HF Spaces default port
EXPOSE 7860
# Ensure main.py is found and run
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]