Browse Source

Add CMD tag for simplified execution

pull/5/head
Lukas Wolfsteiner 4 years ago
committed by GitHub
parent
commit
0d2642e304
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Dockerfile

1
Dockerfile

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

Loading…
Cancel
Save