[+] Dockerfile and docker compose config

This commit is contained in:
Azalea Gui
2023-01-03 04:04:55 -05:00
parent 9091fd2f0f
commit 849a414d3e
3 changed files with 20 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM python:3.11-alpine
WORKDIR /app
COPY requirements.txt /app
RUN pip install -r requirements.txt
CMD ["python3", "-u", "/app/main.py"]
+1 -1
View File
@@ -1,6 +1,6 @@
{
"bot_token": "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11",
"port": 12345,
"port": 8080,
"gh_webhooks": {
"Codertocat/Hello-World": {
"chat_id": -1001234567890,
+11
View File
@@ -0,0 +1,11 @@
version: "3.8"
services:
gh-tg:
container_name: gh-tg
ports:
- "127.0.0.1:14784:8080"
build: .
volumes:
- ".:/app:z"
restart: always