diff --git a/Dockerfile b/Dockerfile index c36fc23..9444168 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,5 +10,5 @@ RUN apk update && apk upgrade && apk add --no-cache libusb apcupsd COPY apc-deamon.conf /etc/apcupsd/apcupsd.conf COPY --from=build /go/bin/apcupsd_exporter /sbin/apcupsd_exporter EXPOSE 9162 3551/tcp 3551/udp -CMD /sbin/apcupsd_exporter -apcupsd.addr localhost:3551 & -ENTRYPOINT /sbin/apcupsd -b \ No newline at end of file +ENTRYPOINT /sbin/apcupsd -b +CMD /sbin/apcupsd_exporter -apcupsd.addr localhost:3551 & \ No newline at end of file