in progress: adding sqlite support

This commit is contained in:
2024-03-02 17:13:15 +00:00
parent 35f469d298
commit 99801f0255
13 changed files with 250 additions and 9 deletions

View File

@@ -4,6 +4,11 @@ COPY . .
ENV CGO_ENABLED=0 GOOS=linux GOPROXY=direct
RUN go build -v -o app .
# Install SQLite
FROM alpine:latest as db
RUN apk --no-cache add sqlite
FROM scratch
COPY --from=db ./example.db .
COPY --from=build /go/src/app/app /go/bin/app
ENTRYPOINT ["/go/bin/app"]