Spaces:
Sleeping
Sleeping
Download Dockerfile from FluxFinance/AdviserNote: direct link, hf CLI and curl.
- Browser
- Download file 674 Bytes
-
https://huggingface.co/spaces/FluxFinance/AdviserNote/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/FluxFinance/AdviserNote/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/FluxFinance/AdviserNote/resolve/main/Dockerfile
674 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # ๊ธฐ์กด ํ์ผ์ ์ ์ฉํ ์์คํ ๋๊ตฌ ์ค์น ๋ถ๋ถ (์ ์ง) | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| curl \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # ํ์ด์ฌ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ค์น | |
| COPY requirements.txt . | |
| RUN pip3 install --no-cache-dir -r requirements.txt | |
| # ํ์ฌ ํด๋์ ๋ชจ๋ ํ์ผ(Notion.py ๋ฑ)์ ์๋ฒ๋ก ๋ณต์ฌ | |
| COPY . . | |
| # Hugging Face ์ ์ฉ ํฌํธ ์ค์ | |
| EXPOSE 7860 | |
| # src/streamlit_app.py ๋์ Notion.py ์คํ | |
| CMD ["streamlit", "run", "Advisernote.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"] |