diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ef3265e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM golang:1.25-bookworm +RUN apt update +RUN apt install ca-certificates +RUN update-ca-certificates -f +ADD go.mod /src/go.mod +ADD go.sum /src/go.sum + +WORKDIR /src +RUN go mod download -x + +ADD . /src +RUN go build + +FROM debian:bookworm +COPY --from=0 /src/jetstream-proxy /jetstream-proxy +RUN apt update +RUN apt install -y ca-certificates +RUN update-ca-certificates -f +CMD ["/jetstream-proxy"]