continue to reduce size of the image.
Some checks failed
Build and Push Docker Image / build (push) Failing after 6m35s

This commit is contained in:
2024-12-27 17:08:01 +01:00
parent b50c0b6b2e
commit e19d071ce6
3 changed files with 13 additions and 4 deletions

View File

@@ -137,6 +137,8 @@ RUN \
&& apt install -y libzmq5 \
&& apt install -y libldap-2.5-0 \
&& apt install -y libsasl2-2 \
&& apt install -y libnspr4 \
&& apt install -y libnss3 \
&& apt install -y imagemagick \
&& apt install -y bash \
&& apt install -y sudo \
@@ -144,8 +146,11 @@ RUN \
COPY --from=build /app /app
COPY --from=build /opt /
COPY --from=build /opt/calibre/bin /app/bin
COPY --from=build /opt/calibre/lib/libcalibre-launcher.so /usr/lib/libcalibre-launcher.so
COPY --from=build /opt/calibre/lib/libjpeg.so.8 /usr/lib/libjpeg.so.8
COPY --from=build /opt/calibre/lib/libpython3.11.so.1.0 /usr/lib/libpython3.11.so.1.0
COPY --from=build /opt/calibre/lib/libpoppler.so.130 /usr/lib/libpoppler.so.130
USER ${PUID}:${PGID}