mirror of
https://github.com/sberk42/fritzbox_exporter.git
synced 2026-05-20 00:07:28 +00:00
Fix Hadolint DL3025: Use arguments JSON notation for CMD and ENTRYPOINT arguments
This commit is contained in:
@@ -33,8 +33,4 @@ COPY --chown=fritzbox:fritzbox --from=builder /app /app
|
||||
EXPOSE 9042
|
||||
|
||||
ENTRYPOINT [ "fritzbox_exporter" ]
|
||||
CMD ./fritzbox_exporter \
|
||||
-username ${USERNAME} \
|
||||
-password ${PASSWORD} \
|
||||
-gateway-url ${GATEWAY_URL} \
|
||||
-listen-address ${LISTEN_ADDRESS}
|
||||
CMD [ "-username", "${USERNAME}", "-password", "${PASSWORD}", "-gateway-url", "${GATEWAY_URL}", "-listen-address", "${LISTEN_ADDRESS}" ]
|
||||
|
||||
Reference in New Issue
Block a user