mirror of
https://github.com/Floriansylvain/GObot.git
synced 2026-10-18 19:34:11 +02:00
tech: docker&envs
This commit is contained in:
1 parent
5d8a33060a
commit
45bc0cffbf
7 files changed
+93
-11
No files matched your search
+10
@@ -0,0 +1,10 @@
|
||||
FROM golang:1.22-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download && go mod verify
|
||||
|
||||
COPY . .
|
||||
RUN go build -o ./discord
|
||||
CMD ["./discord"]
|
||||
Reference in new issue
Block a user