Download Dockerfile from elanuk/eq_sim: direct link, hf CLI and curl.
- Browser
- Download file 355 Bytes
-
https://huggingface.co/spaces/elanuk/eq_sim/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/elanuk/eq_sim/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/elanuk/eq_sim/resolve/main/Dockerfile
355 Bytes
| # Base Python image | |
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copy requirements and install | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy app code | |
| COPY . . | |
| # Expose the port Streamlit will run on | |
| EXPOSE 7860 | |
| # Run Streamlit | |
| CMD ["streamlit", "run", "streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"] | |