도커파일 이미지 크기최적화

This commit is contained in:
2025-02-13 16:54:10 +09:00
parent 00134ee7b1
commit 17236f32b5

View File

@@ -1,21 +1,10 @@
FROM debian:sid FROM debian:sid
WORKDIR / WORKDIR /
RUN apt-get update RUN apt-get update && \
RUN apt-get install -y curl apt-get install -y curl libopus0 tini liboggz2 xz-utils python3 \
RUN apt-get install -y libopus0 python3-pip ffmpeg python3-certifi python3-brotli python3-websockets python3-requests python3-mutagen && \
RUN apt-get install -y tini apt-get clean && \
RUN apt-get install -y liboggz2 rm -rf /var/lib/apt/lists/*
RUN apt-get install -y xz-utils
RUN apt-get install -y python3
RUN apt-get install -y python3-pip
RUN apt-get install -y ffmpeg
RUN apt-get install -y python3-certifi
RUN apt-get install -y python3-brotli
RUN apt-get install -y python3-websockets
RUN apt-get install -y python3-requests
RUN apt-get install -y python3-mutagen
RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/*
RUN pip3 install --break-system-packages --no-cache-dir curl_cffi RUN pip3 install --break-system-packages --no-cache-dir curl_cffi
RUN pip3 install --break-system-packages --no-cache-dir pycryptodome RUN pip3 install --break-system-packages --no-cache-dir pycryptodome
RUN curl -Lo dpp.deb https://dl.dpp.dev/ RUN curl -Lo dpp.deb https://dl.dpp.dev/