We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9bda9c commit dc5268dCopy full SHA for dc5268d
.dockerignore
@@ -0,0 +1,2 @@
1
+.envrc
2
+.github
Dockerfile
@@ -0,0 +1,20 @@
+FROM golang:1.23 AS build
+
3
+WORKDIR /build
4
5
+COPY go.mod go.sum ./
6
+RUN go mod download
7
8
+COPY . ./
9
+RUN go build ./cmd/...
10
11
+FROM debian:bookworm-slim
12
13
+RUN DEBIAN_FRONTEND=noninteractive apt update \
14
+ && apt install -y ca-certificates
15
16
+USER 65534:65534
17
18
+COPY --from=build --chown=65534:65534 /build/bot /usr/bin/bot
19
20
+ENTRYPOINT [ "/usr/bin/bot" ]
0 commit comments