Global_Risk_Radar / Dockerfile
benjamin5607's picture
Create Dockerfile
4547592 verified
Raw
History Blame Contribute Delete
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"]