From 25b1d70b89f7a0b6d27d56edb112fc39777cd051 Mon Sep 17 00:00:00 2001 From: ange Date: Wed, 16 Oct 2024 15:21:03 +0800 Subject: [PATCH] fix: docker path --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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