(Docker) use binary instead of go running it
Signed-off-by: Odyssey346 <odyssey346@disroot.org>
This commit is contained in:
parent
13af65c965
commit
2791e68131
@ -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"]
|
Reference in New Issue
Block a user