Skip to content

Commit

Permalink
FIX: Data VOLUME for local file validation.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlwilson committed Sep 11, 2024
1 parent f311d0d commit b16d114
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile_installer
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit b16d114

Please sign in to comment.