Dockerfiles: Add mountable volumes
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
a7098a2d41
commit
f35313b436
|
@ -116,6 +116,9 @@ RUN photoprism -v
|
|||
# Expose http port
|
||||
EXPOSE 2342
|
||||
|
||||
# Mountable volumes
|
||||
VOLUME ["/photoprism/storage", "/photoprism/originals", "/photoprism/import"]
|
||||
|
||||
# Configure entrypoint
|
||||
COPY --chown=root:root /docker/entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
|
|
@ -207,6 +207,9 @@ RUN photoprism -v
|
|||
# Expose http port
|
||||
EXPOSE 2342
|
||||
|
||||
# Mountable volumes
|
||||
VOLUME ["/photoprism/storage", "/photoprism/originals", "/photoprism/import"]
|
||||
|
||||
# Configure entrypoint
|
||||
COPY --chown=root:root /docker/entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user