diff --git a/Dockerfile b/Dockerfile index 7c1c029..c82a581 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,10 +8,10 @@ COPY ./go.* . RUN go mod download # Copy the go source -COPY ./server/main.go main.go +COPY ./server/*.go ./ # Build -RUN CGO_ENABLED=0 GOOS=linux go build -a -o well-known main.go +RUN CGO_ENABLED=0 GOOS=linux go build -a -o well-known ./ FROM alpine AS downloader