small updates to Dockerfile

absences
William Perron 2 years ago
parent 3e2014ed68
commit 3f93fd3ba6
No known key found for this signature in database
GPG Key ID: D1815C43C9BA3DE1

@ -1,7 +1,7 @@
FROM golang:1.19 as builder
FROM golang:1.19-buster as builder
WORKDIR /app
COPY . .
RUN go build -o ./bin ./cmd/...
RUN go build -buildvcs=false -o ./bin ./cmd/...
FROM ubuntu:22.04 as litestream
WORKDIR /download
@ -16,4 +16,4 @@ COPY --from=litestream /download/litestream /usr/local/bin/litestream
COPY --from=builder /app/start.sh ./start.sh
# install ca-certificates for outbound https calls, and sqlite3 for debugging
RUN apt update -y; apt install -y ca-certificates sqlite3; apt-get clean
ENTRYPOINT ["./start.sh"]
ENTRYPOINT ["./start.sh"]

Loading…
Cancel
Save