π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
FROM golang:1.26.10-alpine3.23 AS builder
ENV CGO_ENABLED=0
WORKDIR /etc/ente/
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . .
RUN --mount=type=cache,target=/root/.cache/go-build \
go build -trimpath -o museum cmd/museum/main.go
FROM alpine:3.22
COPY --from=builder /etc/ente/museum .
COPY configurations configurations
COPY migrations migrations
COPY mail-templates mail-templates
COPY web-templates web-templates
ARG GIT_COMMIT
ENV GIT_COMMIT=$GIT_COMMIT
CMD ["./museum"]