diff --git a/Dockerfile b/Dockerfile index ec58930..30838d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ARG VER=1.23 FROM "docker.io/golang:$VER" as build -WORKDIR /app/ +WORKDIR /build/ ARG VER COPY main.go . RUN printf "module yw5n\ngo $VER" > go.mod && CGO_ENABLED=0 go build -o /app