Add CMD tag for simplified execution

This commit is contained in:
Lukas Wolfsteiner
2021-02-15 03:07:57 +01:00
committed by GitHub
parent 238b68fbd3
commit 0d2642e304

View File

@@ -11,3 +11,4 @@ COPY --from=builder /go/bin/fritzbox_exporter .
COPY metrics.json metrics-lua.json ./
EXPOSE 9042
ENTRYPOINT [ "./fritzbox_exporter" ]
CMD ./fritzbox_exporter -username $USERNAME -password $PASSWORD -gateway-url ${GATEWAY_URL} -listen-address ${LISTEN_ADDRESS}