Browse Source

Fix docker image build

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
pull/8299/head
Julien Pivotto 4 years ago
parent
commit
041d0bcfd6
  1. 2
      Dockerfile

2
Dockerfile

@ -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 ln -s /usr/share/prometheus/console_libraries /usr/share/prometheus/consoles/ /etc/prometheus/
RUN mkdir -p /prometheus && \ RUN mkdir -p /prometheus && \
chown -R nobody:nogroup etc/prometheus /prometheus chown -R nobody:nobody etc/prometheus /prometheus
USER nobody USER nobody
EXPOSE 9090 EXPOSE 9090

Loading…
Cancel
Save