Spaces:
Sleeping

Global-MD-Tool-API / Dockerfile
SimHS98
s
11f328f
Raw History Blame Contribute Delete
259 Bytes
FROM python:3.11-slim
WORKDIR /code
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
ENV STREAMLIT_SERVER_FILE_WATCHER_TYPE=none
COPY hf_api.py .
EXPOSE 8000
CMD ["uvicorn", "hf_api:app", "--host", "0.0.0.0", "--port", "8000"]