diff options
author | Knut Ahlers <knut@luzifer.io> | 2016-05-26 12:17:23 +0200 |
---|---|---|
committer | Knut Ahlers <knut@luzifer.io> | 2016-05-26 12:17:23 +0200 |
commit | cc84fedc3b0b5529591e605bf57be115bb7728a2 (patch) | |
tree | 72ddc9635978af3ac63d96f5a4f6519dab8af86d /Dockerfile | |
parent | 38e119f714f0fc22b6556eec7bff5870505ba15f (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-- | Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |