change user to glances

This commit is contained in:
ducoterra
2020-06-23 14:25:06 -04:00
parent 74db07bd92
commit d1476804f7
4 changed files with 20 additions and 8 deletions

View File

@@ -5,4 +5,7 @@ RUN pip install glances bottle statsd pysnmp
COPY glances.conf /etc/glances/glances.conf
RUN useradd -m glances
USER glances
CMD glances -w