From 6d87be6ff10b90864ac7a259192ac5a465aae01c Mon Sep 17 00:00:00 2001 From: JonathanHerrewijnen Date: Tue, 29 Nov 2022 12:32:36 +0000 Subject: [PATCH] Another update to dockerfile 'COPY root/ /' disabled --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 05b8e8a6..57bf0f4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,8 @@ RUN \ git \ libldap2-dev \ libsasl2-dev \ - python3-dev && \ unzip \ + python3-dev && \ echo "**** install runtime packages ****" && \ apt-get install -y --no-install-recommends \ imagemagick \ @@ -38,8 +38,9 @@ RUN \ mkdir -p \ /app/calibre-web && \ unzip \ - /tmp/calibre-web.zip -C \ - /app/calibre-web --strip-components=1 && \ + /tmp/calibre-web.zip -d \ + /app && \ + mv /app/calibre-web-features/* /app/calibre-web && \ cd /app/calibre-web && \ pip3 install --no-cache-dir -U \ pip wheel && \ @@ -69,7 +70,7 @@ RUN \ /root/.cache # add local files -COPY root/ / +# COPY root/ / # ports and volumes EXPOSE 8083