Spaces:
Sleeping
Sleeping
| FROM python:3.12-slim | |
| WORKDIR /app | |
| # ์์คํ ์์กด์ฑ ์ค์น | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # requirements ๋จผ์ ๋ณต์ฌ (Docker ์บ์ ํ์ฉ) | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # ํ๋ก์ ํธ ํ์ผ ๋ณต์ฌ | |
| COPY multimodal_rag_langgraph_gemini_2_st.py . | |
| COPY news_text_scraper.py . | |
| COPY chroma/ ./chroma/ | |
| COPY .streamlit/ ./.streamlit/ | |
| # Playwright ์ค์น (์คํฌ๋ํ์ฉ) | |
| RUN playwright install --with-deps chromium | |
| # HuggingFace Spaces ํฌํธ | |
| EXPOSE 7860 | |
| # Streamlit ์คํ | |
| CMD ["streamlit", "run", "multimodal_rag_langgraph_gemini_2_st.py", \ | |
| "--server.port=7860", \ | |
| "--server.address=0.0.0.0", \ | |
| "--server.headless=true", \ | |
| "--browser.gatherUsageStats=false"] | |