mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-26 02:31:36 +03:00
25 lines
500 B
Docker
25 lines
500 B
Docker
#
|
|
# 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 -C /glances/conf/glances.conf $GLANCES_OPT
|