Fix docker image build

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
Julien Pivotto 2020-12-16 21:21:22 +01:00
parent c08009139a
commit 041d0bcfd6

View file

@ -16,7 +16,7 @@ COPY npm_licenses.tar.bz2 /npm_licenses.tar.bz2
RUN ln -s /usr/share/prometheus/console_libraries /usr/share/prometheus/consoles/ /etc/prometheus/
RUN mkdir -p /prometheus && \
chown -R nobody:nogroup etc/prometheus /prometheus
chown -R nobody:nobody etc/prometheus /prometheus
USER nobody
EXPOSE 9090