wellfound-feedback / Dockerfile
Zoey7Web's picture
Upload 3 files
88971ec verified
Raw
History Blame Contribute Delete
536 Bytes
FROM python:3.13-slim
WORKDIR /app
# 系统依赖(和 HF Spaces 默认模板保持一致)
RUN apt-get update && apt-get install -y \
git \
git-lfs \
ffmpeg \
libsm6 \
libxext6 \
cmake \
rsync \
libgl1 \
&& rm -rf /var/lib/apt/lists/* \
&& git lfs install
# 安装 Python 依赖(完全由 requirements.txt 控制)
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 复制应用代码
COPY . .
# Gradio 启动
ENV PYTHONUNBUFFERED=1
CMD ["python", "app.py"]