mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
💚 Improve docker image build
This commit is contained in:
parent
14c53946bd
commit
ba4628f6ae
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ RUN apt-get purge -y jq
|
||||||
RUN apt-get autoremove -y
|
RUN apt-get autoremove -y
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
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/
|
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/
|
COPY --from=NODE_BUILD /go/src/github.com/siyuan-note/siyuan/ /go/src/github.com/siyuan-note/siyuan/
|
||||||
ENV GO111MODULE=on
|
ENV GO111MODULE=on
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue