diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0397a1b --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +__pycache__/ +/config.json diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..2aaa2a8 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +version: '3' + +services: + env: + image: python:3-alpine + command: sh -c "pip3 install -q -r requirements.txt && python3 main.py" + working_dir: /repo/ + volumes: + - ./:/repo/ diff --git a/main.py b/main.py new file mode 100644 index 0000000..71d9a9b --- /dev/null +++ b/main.py @@ -0,0 +1,6 @@ +import json + +with open("config.json", "r") as file: + config = json.load(file) + +print(config) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..5a2cf58 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +pybotters