Skip to content

Commit

Permalink
Merge pull request #318 from accurics/change-docker-default
Browse files Browse the repository at this point in the history
move server command out of ENTRYPOINT and into CMD
  • Loading branch information
kanchwala-yusuf authored Sep 12, 2020
2 parents 2953c19 + e97fa89 commit 3402ba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 3402ba9

Please sign in to comment.