Add files for local execution in Docker
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
TELEGRAM_BOT_TOKEN=test
|
||||||
|
OWNER_CHAT_ID=123
|
||||||
+11
@@ -0,0 +1,11 @@
|
|||||||
|
FROM golang:1.22
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY * ./
|
||||||
|
|
||||||
|
RUN go mod download
|
||||||
|
|
||||||
|
RUN CGO_ENABLED=0 GOOS=linux go build cmd/anon3anon/main.go -o /anon3anon
|
||||||
|
|
||||||
|
CMD ["/anon3anon"]
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
anon3anon:
|
||||||
|
container_name: anon3anon
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
Reference in New Issue
Block a user