提交 f6002097 编写于 作者: N nicolargo

RIP Alpine? #1741

上级 fffefe13
#
# Glances Dockerfile based on Alpine OS
#
# https://github.com/nicolargo/glances
#
# Pull base image.
FROM alpine
# Install Glances (develop branch)
RUN apk add python3 py3-psutil py3-bottle git
RUN git clone -b develop https://github.com/nicolargo/glances.git
# 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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册