mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
👷 Update docker image building workflow
This commit is contained in:
@@ -23,7 +23,7 @@ COPY --from=NODE_BUILD /go/src/github.com/siyuan-note/siyuan/ /go/src/github.com
|
||||
ENV GO111MODULE=on
|
||||
ENV CGO_ENABLED=1
|
||||
RUN apk add --no-cache gcc musl-dev && \
|
||||
cd kernel && go build --tags fts5 -v -ldflags "-s -w -X github.com/siyuan-note/siyuan/kernel/util.Mode=prod" && \
|
||||
cd kernel && go build --tags fts5 -v -ldflags "-s -w" && \
|
||||
mkdir /opt/siyuan/ && \
|
||||
mv /go/src/github.com/siyuan-note/siyuan/app/appearance/ /opt/siyuan/ && \
|
||||
mv /go/src/github.com/siyuan-note/siyuan/app/stage/ /opt/siyuan/ && \
|
||||
|
||||
Reference in New Issue
Block a user