Spaces:
Sleeping
Sleeping
| FROM python:3.9-slim | |
| WORKDIR /app | |
| ENV HOME=/app | |
| COPY . . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN mkdir -p /app/.streamlit \ | |
| && chmod -R a+rwx /app/.streamlit \ | |
| && printf "[server]\nheadless = true\nport = 7860\n\n" > /app/.streamlit/config.toml | |
| EXPOSE 7860 | |
| CMD ["streamlit","run","app.py","--server.port=7860","--server.address=0.0.0.0"] | |