regguard / Dockerfile
hemankagg-hash
Fix port to 7860 for HF Spaces
9a7607a
Raw
History Blame Contribute Delete
228 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -e .
ENV PYTHONPATH=/app
WORKDIR /app/server
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--timeout-keep-alive", "75"]