(Docker) use binary instead of go running it

Signed-off-by: Odyssey346 <odyssey346@disroot.org>
This commit is contained in:
Odyssey346 2022-07-29 11:21:52 +02:00
parent 13af65c965
commit 2791e68131

View File

@ -9,4 +9,6 @@ RUN go mod download
EXPOSE 6893 EXPOSE 6893
CMD ["go", "run", "main.go"] RUN go build -o segfautilities
RUN chmod +x segfautilities
CMD ["./segfautilities"]