contextflow-env-api / Dockerfile
namish10's picture
Upload Dockerfile with huggingface_hub
4f50554 verified
raw
history blame contribute delete
256 Bytes
FROM python:3.10-slim
WORKDIR /app
RUN pip install --no-cache-dir gradio fastapi uvicorn pydantic numpy httpx
COPY . .
ENV PYTHONUNBUFFERED=1
ENV PORT=7860
EXPOSE 7860
CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]