From de569ddd8a822cc4913ae9fd850402d8b2a518a6 Mon Sep 17 00:00:00 2001 From: artbird309 Date: Fri, 13 Nov 2020 08:53:29 -0500 Subject: [PATCH] Remove extra volume from the Dockerfiles Specifying the volume in the Dockerfile is unnecessary and can lead to excessive orphaned volume if the user chooses to use different paths at runtime. --- Dockerfile | 2 +- Dockerfile.aarch64 | 2 +- Dockerfile.armhf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5b4406a..96fadc2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,4 +69,4 @@ COPY root/ / # ports and volumes EXPOSE 8083 -VOLUME /books /config +VOLUME /config diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index a1acc7e..5251539 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -83,4 +83,4 @@ COPY root/ / # ports and volumes EXPOSE 8083 -VOLUME /books /config +VOLUME /config diff --git a/Dockerfile.armhf b/Dockerfile.armhf index f34b521..11b221b 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -83,4 +83,4 @@ COPY root/ / # ports and volumes EXPOSE 8083 -VOLUME /books /config +VOLUME /config