Skip to content

Commit

Permalink
fix: Use ENTRYPOINT instead of CMD to receive os.Signal correctly (#32)
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
  • Loading branch information
denis-tingaikin authored Mar 8, 2021
1 parent 1636950 commit 7a5097b
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-nsc-vpp /bin/cmd-nsc-vpp
CMD /bin/cmd-nsc-vpp
ENTRYPOINT [ "/bin/cmd-nsc-vpp" ]

0 comments on commit 7a5097b

Please sign in to comment.