summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authoralex emery <[email protected]>2024-11-03 15:35:07 +0000
committeralex emery <[email protected]>2024-11-03 16:03:43 +0000
commitb28b124f1bc62a737bc4a11d575ff7638e65ee66 (patch)
tree19f78fa1ff45f158798e1922fb74fc8809d7b7a2 /Dockerfile
parent508527f52de524a4fd174d386808e314b4138b11 (diff)
use obsidian symlink to posts
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 1d4e712..b352810 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,7 @@ COPY go.mod go.sum ./
RUN go mod download && go mod verify
COPY . .
-RUN CGO_ENABLED=0 go run ./cmd/build
+
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /usr/local/bin/app ./cmd/serve/
FROM scratch