text-classification / Dockerfile
manue
Update Dockerfile to use Python 3.10, modify app.py to run on host 0.0.0.0, and add .huggingface.yaml configuration
00c6e88
raw
history blame
151 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 5000
EXPOSE 7860
CMD ["python", "app.py"]