summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..a772c2ce
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,24 @@
+#
+# Glances Dockerfile
+#
+# https://github.com/nicolargo/glances
+#
+
+# Pull base image.
+FROM ubuntu
+
+# Install Glances (develop branch)
+RUN apt-get -y install curl && \
+ curl -L https://raw.githubusercontent.com/nicolargo/glancesautoinstall/master/install-develop.sh | /bin/bash
+
+# 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