Dockerfile 473 B

123456789101112131415
  1. FROM python:3.12
  2. WORKDIR /usr/src/app
  3. COPY docker/debian.sources /etc/apt/sources.list.d
  4. #RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y && apt-get install libgl1 -y
  5. COPY watermark_generate ./watermark_generate
  6. RUN apt-get update && \
  7. apt-get install libgl1 -y && \
  8. pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn --default-timeout=60 --no-cache-dir -r ./watermark_generate/requirements.txt