Spaces:
Runtime error
Runtime error
Download streamlit_app.py from Rag9999/anycoder-a2fd8af4: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/spaces/Rag9999/anycoder-a2fd8af4/resolve/main/streamlit_app.py
- Command line
-
hf download hf://spaces/Rag9999/anycoder-a2fd8af4/streamlit_app.py
-
curl -L -o streamlit_app.py https://huggingface.co/spaces/Rag9999/anycoder-a2fd8af4/resolve/main/streamlit_app.py
305 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app | |
| USER 1000 | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"] |