summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorNicolargo <nicolas@nicolargo.com>2015-11-27 11:06:31 +0100
committerNicolargo <nicolas@nicolargo.com>2015-11-27 11:06:31 +0100
commit22c4f3d9edeb91b34cb0b3a67be7448056f29cd3 (patch)
tree7c7e678ea4d8ca57c9234aa62d75b9a5e6c7dd20 /Dockerfile
parent18d15f7a4c55cc9356edba1e2e39c9f09b25aa2f (diff)
Dockerfile expose ports for WebUI and server mode
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index ef31b453..48860e54 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,5 +14,11 @@ RUN apt-get -y install curl && \
# Define working directory.
WORKDIR /glances
+# EXPOSE PORT (For XMLRPC)
+EXPOSE 61209
+
+# EXPOSE PORT (For Web UI)
+EXPOSE 61208
+
# Define default command.
-CMD ["python", "-m", "glances", "$GLANCES_OPT"] \ No newline at end of file
+CMD ["python", "-m", "glances", "$GLANCES_OPT"]