- FROM python:3.12
- WORKDIR /usr/src/app
- COPY docker/debian.sources /etc/apt/sources.list.d
- #RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y && apt-get install libgl1 -y
- COPY watermark_generate ./watermark_generate
- RUN apt-get update && \
- apt-get install libgl1 -y && \
- 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
|