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.
pull/586/head
dejan.petrov@dapmn.com 3 years ago
parent 33ca0f0817
commit bd1ed2b705

@ -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

Loading…
Cancel
Save