Skip to content

Commit 6f7fb89

Browse files
committed
Webhook server implemented
0 parents  commit 6f7fb89

File tree

14 files changed

+1251
-0
lines changed

14 files changed

+1251
-0
lines changed

.gitignore

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
**/.venv/
2+
**/.env
3+
**/__pycache__/
4+
**/.vscode
5+
**/build
6+
**/dist
7+
**/.egg-info
8+
9+
.Python
10+
build/
11+
develop-eggs/
12+
dist/
13+
downloads/
14+
eggs/
15+
.eggs/
16+
lib/
17+
lib64/
18+
parts/
19+
sdist/
20+
var/
21+
wheels/
22+
share/python-wheels/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
MANIFEST
27+
28+
*.manifest
29+
*.spec
30+
31+
pip-log.txt
32+
pip-delete-this-directory.txt
33+
34+
.pybuilder/
35+
target/
36+
37+
.pdm.toml
38+
.pdm-python
39+
.pdm-build/
40+
41+
__pypackages__/
42+
43+
.env
44+
.venv
45+
env/
46+
venv/
47+
ENV/
48+
env.bak/
49+
venv.bak/
50+
51+
.mypy_cache/
52+
.dmypy.json
53+
dmypy.json

Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM python:3.11-slim
2+
LABEL maintainer="Green API <support@green-api.com>"
3+
4+
COPY ./requirements.txt /requirements.txt
5+
COPY ./README.md /README.md
6+
COPY ./setup.py /setup.py
7+
COPY ./whatsapp_api_webhook_server_python_v2 /whatsapp_api_webhook_server_python_v2
8+
COPY ./examples /examples
9+
10+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
11+
RUN pip install -e .
12+
13+
CMD ["python3", "examples/docker_example.py"]

0 commit comments

Comments
 (0)