add volume to docker image

This commit is contained in:
Willy Kloucek
2021-01-21 14:44:38 +01:00
parent 1bc644fb00
commit 49e806e157
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

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

View File

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

View File

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