[+] Dockerfile and docker compose config
This commit is contained in:
@@ -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
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"bot_token": "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11",
|
"bot_token": "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11",
|
||||||
"port": 12345,
|
"port": 8080,
|
||||||
"gh_webhooks": {
|
"gh_webhooks": {
|
||||||
"Codertocat/Hello-World": {
|
"Codertocat/Hello-World": {
|
||||||
"chat_id": -1001234567890,
|
"chat_id": -1001234567890,
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user