Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Trim local paths from museum binary

Manav Rathi9f6ba8b0ca31
diff --git a/server/Dockerfile b/server/Dockerfile
index 2d3240d84b..1833b307ba 100644
--- a/server/Dockerfile
+++ b/server/Dockerfile
@@ -9,7 +9,7 @@ RUN go mod download
COPY . .
RUN --mount=type=cache,target=/root/.cache/go-build \
- go build -o museum cmd/museum/main.go
+ go build -trimpath -o museum cmd/museum/main.go
FROM alpine:3.21
COPY --from=builder /etc/ente/museum .