diff --git a/Dockerfile b/Dockerfile index 5eb99ba..3d21ce5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,4 @@ RUN go mod download RUN go get github.com/githubnemo/CompileDaemon -ENTRYPOINT CompileDaemon --build="make build" --command=./main \ No newline at end of file +ENTRYPOINT CompileDaemon --build="make build" --command=./bin/sysctl \ No newline at end of file diff --git a/Makefile b/Makefile index 08fb020..bc1b8a5 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ build: -X ${PROJECT}/internal/diagnostics.Commit=${COMMIT} \ -X ${PROJECT}/internal/diagnostics.BuildDate=${BUILD_DATE}" \ -o bin/sysctl-${GOOS}-${GOARCH} ${PROJECT}/cmd/sysctl + cp ./bin/sysctl-${GOOS}-${GOARCH} ./bin/sysctl clean: rm -rf ${BUILD_DIR}