Dockerfile expose ports for WebUI and server mode

This commit is contained in:
Nicolargo
2015-11-27 11:06:31 +01:00
parent 18d15f7a4c
commit 22c4f3d9ed

View File

@@ -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"]
CMD ["python", "-m", "glances", "$GLANCES_OPT"]