ProtoClinicalChat / Dockerfile
高橋慧
Rename dockerfile -> Dockerfile
2a21986
raw
history blame
514 Bytes
# Dockerfile(リポジトリ直下)
FROM python:3.10-bookworm
# 依存ライブラリ(OpenCVやffmpeg系で必要)
RUN apt-get update && apt-get install -y \
git git-lfs ffmpeg libsm6 libxext6 cmake rsync libgl1 libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/* \
&& git lfs install
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Hugging FaceのGradio/Streamlit系Spacesなら、以下のCMDでOK(app.pyがエントリ)
CMD ["python", "app.py"]