Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: update dockerfile
Stevene41916408a35
diff --git a/scripts/Dockerfile b/scripts/Dockerfileindex ccb21bcd6..0a884a144 100644--- a/scripts/Dockerfile+++ b/scripts/Dockerfile@@ -1,11 +1,13 @@FROM golang:1.24-alpine AS backendWORKDIR /backend-build-+COPY go.mod go.sum ./+RUN go mod downloadCOPY . .# Please build frontend first, so that the static files are available.# Refer to `pnpm release` in package.json for the build command.--RUN go build -o memos ./bin/memos/main.go+RUN --mount=type=cache,target=/go/pkg/mod \+ --mount=type=cache,target=/root/.cache/go-build \+ go build -ldflags="-s -w" -o memos ./bin/memos/main.go# Make workspace with above generated files.FROM alpine:latest AS monolithic