Spaces:
Sleeping
Sleeping
File size: 356 Bytes
be7f94e 204677b be7f94e 204677b 0c3111d 204677b be7f94e 204677b be7f94e 204677b be7f94e 204677b 0c3111d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y libgomp1 && rm -rf /var/lib/apt/lists/*
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
ENV PYTHONUNBUFFERED=1
# Use port 7860 explicitly (Hugging Face's default)
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |