mirror of
https://github.com/nicolargo/glances.git
synced 2026-03-15 12:27:24 -04:00
Dockerfile expose ports for WebUI and server mode
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user