diff --git a/Dockerfile b/Dockerfile index d8ef295..8a4c081 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ FROM golang:alpine as builder RUN apk update && apk add --no-cache git build-base -RUN git clone https://github.com/ivlovric/HFP /HFP +COPY . /HFP + WORKDIR /HFP RUN go mod tidy RUN go build -ldflags "-s -w" -o HFP *.go