Skip to content

Commit

Permalink
Merge pull request #31 from denis-tingaikin/fix-docker-image
Browse files Browse the repository at this point in the history
fix: Use ENTRYPOINT instead of  CMD to receive os.Signal correctly
  • Loading branch information
edwarnicke authored Mar 8, 2021
2 parents 6822a3a + 2960d49 commit dc55cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ CMD dlv -l :40000 --headless=true --api-version=2 test -test.v ./...

FROM ghcr.io/edwarnicke/govpp/vpp:${VPP_VERSION} as runtime
COPY --from=build /bin/cmd-nse-icmp-responder-vpp /bin/cmd-nse-icmp-responder-vpp
CMD /bin/cmd-nse-icmp-responder-vpp
ENTRYPOINT [ "/bin/cmd-nse-icmp-responder-vpp" ]

0 comments on commit dc55cc1

Please sign in to comment.