Change entrypoint.

This commit is contained in:
Christian Steinle
2022-07-11 08:23:32 +02:00
parent 5b8259df1d
commit 724abc529f
2 changed files with 4 additions and 3 deletions

View File

@@ -11,5 +11,5 @@ COPY apc-deamon.conf /etc/apcupsd/apcupsd.conf
COPY entrypoint.sh /sbin/entrypoint.sh
COPY --from=build /go/bin/apcupsd_exporter /sbin/apcupsd_exporter
EXPOSE 9162 3551/tcp 3551/udp
ENTRYPOINT /sbin/entrypoint.sh
ENTRYPOINT ["sh", "/sbin/entrypoint.sh"]