Rewrite in Go

Signed-off-by: qugalet <qugalet@m0e.space>
This commit is contained in:
qugalet 2023-09-19 22:19:25 +03:00
commit 66e906f139
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 1B4177CC855ED9A3
9 changed files with 499 additions and 0 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
# syntax=docker/dockerfile:1
FROM golang:1.20
WORKDIR /app
COPY go.mod go.sum .
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o /app/uabot
ENTRYPOINT ["/app/entrypoint.sh"]