mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-20 19:33:18 +03:00
Clean up docker image
Added some commands to clean up the image after apt-get does its thing. It should shave off a couple of megabytes, nothing to big though.
This commit is contained in:
@@ -44,7 +44,11 @@ RUN apt-get update && apt-get -y install \
|
|||||||
python2 \
|
python2 \
|
||||||
python3 \
|
python3 \
|
||||||
atomicparsley && \
|
atomicparsley && \
|
||||||
apt-get install -f
|
apt-get install -f && \
|
||||||
|
apt autoremove --purge && \
|
||||||
|
apt autoremove && \
|
||||||
|
apt clean && \
|
||||||
|
rm -rf /var/lib/apt
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=ffmpeg /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg
|
COPY --from=ffmpeg /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg
|
||||||
|
|||||||
Reference in New Issue
Block a user