Merge pull request #1375 from owncloud/add_volume_docker_image

add volume to docker image
This commit is contained in:
Phil Davis
2021-01-21 21:35:06 +05:45
committed by GitHub
4 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
Change: Add "volume" declaration to docker images
Tags: docker
Add "volume" declaration to docker images. This makes it easier for Docker users to see where oCIS stores data.
https://github.com/owncloud/ocis/pull/1375

View File

@@ -17,3 +17,5 @@ ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]
COPY bin/ocis /usr/bin/ocis
VOLUME [ "/var/tmp/ocis" ]

View File

@@ -17,3 +17,5 @@ ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]
COPY bin/ocis /usr/bin/ocis
VOLUME [ "/var/tmp/ocis" ]

View File

@@ -17,3 +17,5 @@ ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]
COPY bin/ocis /usr/bin/ocis
VOLUME [ "/var/tmp/ocis" ]