summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorKnut Ahlers <knut@luzifer.io>2016-05-26 12:17:23 +0200
committerKnut Ahlers <knut@luzifer.io>2016-05-26 12:17:23 +0200
commitcc84fedc3b0b5529591e605bf57be115bb7728a2 (patch)
tree72ddc9635978af3ac63d96f5a4f6519dab8af86d /Dockerfile
parent38e119f714f0fc22b6556eec7bff5870505ba15f (diff)
Added EXPOSE and VOLUME directives
This describes the exposed ports and the volume according to the `README.md` documentation. Though it is possible to mount volumes and expose ports using `docker run`, for several docker management tools it is not possible to expose ports or mount volumes when they are not defined in the `Dockerfile`.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 0eeeb8d..9a36e8c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,3 +13,6 @@ RUN apt-get -y autoremove
ADD extra/oxidized.runit /etc/service/oxidized/run
ADD extra/auto-reload-config.runit /etc/service/auto-reload-config/run
+
+VOLUME ["/root/.config/oxidized"]
+EXPOSE 8888/tcp