fix: docker path
All checks were successful
/ deploy (push) Successful in 46s

This commit is contained in:
ange 2024-10-16 15:21:03 +08:00
parent 8eacf95dcb
commit 25b1d70b89
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -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