Spaces:
Sleeping
Sleeping
Download Dockerfile from benjamin5607/Global_Risk_Radar: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/spaces/benjamin5607/Global_Risk_Radar/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/benjamin5607/Global_Risk_Radar/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/benjamin5607/Global_Risk_Radar/resolve/main/Dockerfile
435 Bytes
| # 1. νμ΄μ¬ 3.9 μ΄λ―Έμ§ μ¬μ© | |
| FROM python:3.9-slim | |
| # 2. μμ ν΄λ μ€μ | |
| WORKDIR /app | |
| # 3. νμ νμΌ λ³΅μ¬ | |
| COPY requirements.txt requirements.txt | |
| # 4. λΌμ΄λΈλ¬λ¦¬ μ€μΉ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # 5. μμ€ μ½λ λ³΅μ¬ | |
| COPY . . | |
| # 6. Streamlit μ€ν (μ€μ: ν¬νΈλ λ°λμ 7860μ΄μ΄μΌ ν¨!) | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] |