From b16d1143a09a8c277a6fafc18997abade34d1f31 Mon Sep 17 00:00:00 2001 From: Carl Wilson Date: Wed, 11 Sep 2024 20:37:19 +0100 Subject: [PATCH] FIX: Data VOLUME for local file validation. --- Dockerfile_installer | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile_installer b/Dockerfile_installer index e11fcd447..47c288ba7 100644 --- a/Dockerfile_installer +++ b/Dockerfile_installer @@ -44,9 +44,12 @@ RUN addgroup -S jhove && adduser -S -G jhove -h /opt/jhove jhove RUN mkdir --parents /var/opt/jhove/logs && chown -R jhove:jhove /var/opt/jhove USER jhove - WORKDIR /opt/jhove + # Copy the application from the previous stage COPY --from=app-installer /opt/jhove/ /opt/jhove/ +WORKDIR /data +VOLUME [ "/data" ] + ENTRYPOINT ["/opt/jhove/jhove"]