Fixed docker build

This commit is contained in:
斟酌 鵬兄 2022-09-17 05:58:52 +08:00
parent 3376d9eb96
commit 7fd8d4fb6a

View File

@ -8,6 +8,8 @@ RUN go mod download
COPY "datasources" "./datasources/"
COPY "utils" "./utils/"
COPY "query" "./query/"
COPY "i18n" "./i18n/"
COPY *.go ./
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o /golifehkbot