|
@@ -9,6 +9,11 @@ ENV TZ=Asia/Shanghai
|
|
|
RUN apt update && apt --no-install-recommends install -y libgl-dev libglib2.0-dev fonts-wqy-zenhei \
|
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
|
|
|
&& pip install -r requirements.txt --no-cache-dir \
|
|
|
+ && wget -O /tmp/ffmpeg-6.0.1-amd64-static.tar.xz https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-6.0.1-amd64-static.tar.xz \
|
|
|
+ && tar -xJvf /tmp/ffmpeg-6.0.1-amd64-static.tar.xz -C /usr/local/ \
|
|
|
+ && rm /tmp/ffmpeg-6.0.1-amd64-static.tar.xz \
|
|
|
+ && ln -s /usr/local/ffmpeg-6.0.1-amd64-static/ffprobe /usr/local/bin/ffprobe \
|
|
|
+ && ln -s /usr/local/ffmpeg-6.0.1-amd64-static/ffmpeg /usr/local/bin/ffmpeg \
|
|
|
&& mkdir -p /app/cache
|
|
|
|
|
|
ENTRYPOINT ["python", "/app/carry_data_redis.py"]
|