NotebookLMClone / Dockerfile
github-actions[bot]
Sync from GitHub e48aa5f27523b35a22c1a01acbb2b835cdc28984
aacd162
raw
history blame contribute delete
502 Bytes
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
PORT=7860 \
BACKEND_URL=http://127.0.0.1:8000 \
STORAGE_BASE_DIR=/data
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
curl \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt ./
RUN pip install --upgrade pip && pip install -r requirements.txt
COPY . .
RUN mkdir -p /data /app/uploads
EXPOSE 7860
CMD ["/app/start_hf.sh"]