Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Commit 40175b3

Browse files
author
Damien PLENARD
committed
don't run with an unprivilegied user into docker container
1 parent e624cb1 commit 40175b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ ENTRYPOINT [ "/usr/bin/influxdb-relay" ]
4040

4141
EXPOSE 9096
4242

43+
USER 1001
44+
4345
VOLUME ["/etc/influxdb-relay/influxdb-relay.conf"]
4446

4547
CMD ["-config", "/etc/influxdb-relay/influxdb-relay.conf" ]

0 commit comments

Comments
 (0)