search_bot / Dockerfile
pavan10504's picture
Upload 24 files
c7968ae verified
raw
history blame contribute delete
302 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app ./app
EXPOSE 7860
# Hugging Face Spaces injects PORT; default to 7860 for local/dev.
CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-7860}"]