summaryrefslogtreecommitdiffstats
path: root/docker-files/ubuntu.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker-files/ubuntu.Dockerfile')
-rw-r--r--docker-files/ubuntu.Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker-files/ubuntu.Dockerfile b/docker-files/ubuntu.Dockerfile
index 33771452..96abc88f 100644
--- a/docker-files/ubuntu.Dockerfile
+++ b/docker-files/ubuntu.Dockerfile
@@ -80,6 +80,10 @@ FROM base as release
COPY ./docker-compose/glances.conf /etc/glances.conf
COPY /glances /app/glances
+# Copy binary and update PATH
+COPY docker-bin.sh /usr/local/bin/glances
+ENV PATH="/venv/bin:$PATH"
+
# EXPOSE PORT (XMLRPC / WebUI)
EXPOSE 61209 61208