Skip to content

Commit

Permalink
feat(Dockerfile): split up CMD into ENTRYPOINT and CMD (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
secustor committed Oct 25, 2020
1 parent 2b4ec1b commit 9815820
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Expand Up @@ -14,4 +14,5 @@ COPY --from=builder /etc/ssl/certs/ca-certificates.crt .
ENV SSL_CERT_DIR=/opt/fortigate_exporter

EXPOSE 9710
CMD ["./main", "-auth-file", "/config/fortigate-key.yaml"]
ENTRYPOINT ["./main"]
CMD ["-auth-file", "/config/fortigate-key.yaml"]

0 comments on commit 9815820

Please sign in to comment.