code-review / Dockerfile
Boobesh007's picture
Upload Dockerfile with huggingface_hub
3311aae verified
Raw History Blame Contribute Delete
257 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir fastapi uvicorn pydantic openenv-core gradio requests
ENV PYTHONPATH="/app:$PYTHONPATH"
EXPOSE 7860
CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]