From e748427b3ce744927759f1a3b461019599577db3 Mon Sep 17 00:00:00 2001 From: Smart-SangGe <2251250136@qq.com> Date: Tue, 2 Aug 2022 09:35:54 +0800 Subject: [PATCH] update dockerfile --- dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index 179a643..0ebb617 100644 --- a/dockerfile +++ b/dockerfile @@ -1,3 +1,4 @@ from golang:latest copy . /go -run go build -o console console.go \ No newline at end of file +run go build -o console console.go +entrypoint ./console \ No newline at end of file