nicopbeard's picture
Add Dockerfile and requirements for HuggingFace Space deployment
b43c40e
Raw
History Blame Contribute Delete
285 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements-space.txt .
RUN pip install --no-cache-dir -r requirements-space.txt
COPY app.py .
EXPOSE 7860
CMD ["streamlit", "run", "app.py", \
"--server.port=7860", \
"--server.address=0.0.0.0", \
"--server.headless=true"]