Pitcher_Dashboard / Dockerfile
WPatrick81's picture
Upload 4 files
01ef52f verified
Raw History Blame Contribute Delete
1.55 kB
# ── 베이슀 이미지 ──────────────────────────────────────────
FROM python:3.10-slim
# ── μ‹œμŠ€ν…œ νŒ¨ν‚€μ§€ ──────────────────────────────────────────
RUN apt-get update && apt-get install -y \
build-essential \
curl \
&& rm -rf /var/lib/apt/lists/*
# ── μž‘μ—… 디렉토리 ──────────────────────────────────────────
WORKDIR /app
# ── νŒ¨ν‚€μ§€ μ„€μΉ˜ ────────────────────────────────────────────
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# ── μ•± μ½”λ“œ 볡사 ───────────────────────────────────────────
COPY app.py .
COPY AI_CHAT_GUIDE.md .
# ── μΊμ‹œ 디렉토리 생성 & κΆŒν•œ μ„€μ • ────────────────────────
RUN mkdir -p /tmp && chmod 777 /tmp
# ── HuggingFace Spaces 포트 ────────────────────────────────
EXPOSE 7860
# ── μ‹€ν–‰ ───────────────────────────────────────────────────
CMD ["python", "app.py"]