mirror of https://github.com/nicolargo/glances.git
Merge branch 'Antiz96-develop' into develop
This commit is contained in:
commit
f85ddbfee9
|
|
@ -15,3 +15,6 @@
|
|||
|
||||
# Include Config file
|
||||
!/docker-compose/glances.conf
|
||||
|
||||
# Include Binary file
|
||||
!/docker-bin.sh
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
/venv/bin/python3 -m glances $@
|
||||
|
|
@ -86,6 +86,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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
@ -110,4 +114,4 @@ FROM full as dev
|
|||
|
||||
# Forward access and error logs to Docker's log collector
|
||||
RUN ln -sf /dev/stdout /tmp/glances-root.log \
|
||||
&& ln -sf /dev/stderr /var/log/error.log
|
||||
&& ln -sf /dev/stderr /var/log/error.log
|
||||
|
|
|
|||
Loading…
Reference in New Issue