Merge pull request #8299 from roidelapluie/fixdocker

Fix docker image build
This commit is contained in:
Julien Pivotto 2020-12-16 21:49:53 +01:00 committed by GitHub
commit e5478983c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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