Commit e6cd7617 authored by johnnyjoy's avatar johnnyjoy

chore: remove cgo

parent 66db662e
......@@ -6,9 +6,7 @@ before:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
main: ./bin/memos
- main: ./bin/memos
binary: memos
goos:
- linux
......
......@@ -17,7 +17,7 @@ WORKDIR /backend-build
COPY . .
COPY --from=frontend /frontend-build/web/dist /backend-build/server/router/frontend/dist
RUN CGO_ENABLED=0 go build -o memos ./bin/memos/main.go
RUN go build -o memos ./bin/memos/main.go
# Make workspace with above generated files.
FROM alpine:latest AS monolithic
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment