Skip to content

Commit 97123c9

Browse files
committed
Use non-root path as it caused some issues
1 parent d74fd52 commit 97123c9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
FROM debian:10-slim
22
RUN apt-get update \
3-
&& apt-get -y install socat ca-certificates \
3+
&& apt-get -y install ca-certificates \
44
&& apt-get clean \
55
&& rm -rf /var/lib/apt/lists
66

7-
ARG binary
8-
9-
COPY bin/postgres_exporter /postgres_exporter
7+
COPY bin/postgres_exporter /usr/bin/postgres_exporter
108

119
EXPOSE 9187
1210

13-
ENTRYPOINT [ "/postgres_exporter" ]
11+
ENTRYPOINT [ "/usr/bin/postgres_exporter" ]

0 commit comments

Comments
 (0)