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"]