From e97fa89f9238d72f74df1d1bf7e61a8b66423758 Mon Sep 17 00:00:00 2001 From: Willie Sana Date: Sat, 12 Sep 2020 10:21:56 -0700 Subject: [PATCH] move server command out of ENTRYPOINT and into CMD - sets the base command as default - per @acc-jon --- build/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index 55f8f1151..3810b4e40 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -32,5 +32,5 @@ COPY --from=builder /go/bin/terrascan /go/bin/terrascan EXPOSE 9010 -ENTRYPOINT ["/go/bin/terrascan", "server"] -CMD ["--log-type", "json"] +ENTRYPOINT ["/go/bin/terrascan"] +CMD ["server", "--log-type", "json"]