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:
dejan.petrov@dapmn.com
2022-05-01 18:02:46 +02:00
parent 33ca0f0817
commit bd1ed2b705

View File

@@ -44,7 +44,11 @@ RUN apt-get update && apt-get -y install \
python2 \
python3 \
atomicparsley && \
apt-get install -f
apt-get install -f && \
apt autoremove --purge && \
apt autoremove && \
apt clean && \
rm -rf /var/lib/apt
WORKDIR /app
COPY --from=ffmpeg /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg