💚 Improve docker image build

This commit is contained in:
Daniel 2025-05-27 15:53:10 +08:00
parent 14c53946bd
commit ba4628f6ae
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -18,7 +18,7 @@ RUN apt-get purge -y jq
RUN apt-get autoremove -y
RUN rm -rf /var/lib/apt/lists/*
FROM golang:alpine AS GO_BUILD
FROM golang:1.24-alpine AS GO_BUILD
WORKDIR /go/src/github.com/siyuan-note/siyuan/
COPY --from=NODE_BUILD /go/src/github.com/siyuan-note/siyuan/ /go/src/github.com/siyuan-note/siyuan/
ENV GO111MODULE=on