Something went wrong. Try again.
A local-first bookmark manager with ambition
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637FROM --platform=linux/amd64 golang:alpine AS build
RUN apk add git sqlite sqlite-dev build-base build-base
WORKDIR /src/
COPY go.* /src/
RUN go mod download -x
COPY . /src
#Compiler SettingsENV CGO_ENABLED=1
# for full parings check out https://go.dev/doc/install/source#environmentENV GOOS=linux# this will be the target cpu arch# Can be amd64 arm64 386 ppc64ENV GOARCH=amd64
RUN go build -o /out/app -tags "fts5" .
# if you need certificates use: alpine# otherwise just use: scratchFROM alpine AS run
RUN apk add build-base
COPY --from=build /out/app /
ENV MARK_STORE_LOCATION=/data# if neededEXPOSE 1995
ENTRYPOINT [ "/app", "search"]