add volume data dirs

This commit is contained in:
Sebastian Hugentobler 2023-08-31 07:35:49 +02:00
parent 61e452ca75
commit 406097b7ce
Signed by untrusted user who does not match committer: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -49,6 +49,10 @@ COPY --from=builder /install /var/lib/paperless
ADD /rootfs / ADD /rootfs /
RUN mkdir /var/lib/paperless/consume
RUN mkdir /var/lib/paperless/data
RUN mkdir /var/lib/paperless/data
RUN chown -R paperless:paperless /var/lib/paperless RUN chown -R paperless:paperless /var/lib/paperless
ENV HOME /var/lib/paperless ENV HOME /var/lib/paperless