H2P3B / Dockerfile
muhammadshaheryar's picture
Update Dockerfile
9263e12 verified
raw
history blame contribute delete
294 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy all files
COPY . .
# Hugging Face Spaces port requirement
EXPOSE 7860
# Run the root main.py (not the src/main.py directly)
CMD ["python", "main.py"]