+19
Dockerfile
+19
Dockerfile
···
1
+
FROM golang:1.25-bookworm
2
+
RUN apt update
3
+
RUN apt install ca-certificates
4
+
RUN update-ca-certificates -f
5
+
ADD go.mod /src/go.mod
6
+
ADD go.sum /src/go.sum
7
+
8
+
WORKDIR /src
9
+
RUN go mod download -x
10
+
11
+
ADD . /src
12
+
RUN go build
13
+
14
+
FROM debian:bookworm
15
+
COPY --from=0 /src/jetstream-proxy /jetstream-proxy
16
+
RUN apt update
17
+
RUN apt install -y ca-certificates
18
+
RUN update-ca-certificates -f
19
+
CMD ["/jetstream-proxy"]