Docker: review fix: if end-user host-mounts the export directory

This commit is contained in:
Sven Fischer
2017-05-02 19:06:01 +02:00
parent 11096e1393
commit d4e972e96f
2 changed files with 22 additions and 21 deletions

View File

@@ -38,7 +38,6 @@ RUN groupadd -g 1000 paperless \
# Set export directory
ENV PAPERLESS_EXPORT_DIR /export
RUN mkdir -p $PAPERLESS_EXPORT_DIR
RUN chown -Rh paperless:paperless $PAPERLESS_EXPORT_DIR
# Setup entrypoint
COPY scripts/docker-entrypoint.sh /sbin/docker-entrypoint.sh