From 2791e681317fef6260744af45fae207b14038353 Mon Sep 17 00:00:00 2001 From: Odyssey346 Date: Fri, 29 Jul 2022 11:21:52 +0200 Subject: [PATCH] (Docker) use binary instead of go running it Signed-off-by: Odyssey346 --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5eddf81..79caac1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,6 @@ RUN go mod download EXPOSE 6893 -CMD ["go", "run", "main.go"] \ No newline at end of file +RUN go build -o segfautilities +RUN chmod +x segfautilities +CMD ["./segfautilities"] \ No newline at end of file