core: put config in json

This commit is contained in:
starnakin 2023-06-04 11:48:19 +02:00
parent 30400f18c5
commit edb1756c69
3 changed files with 8 additions and 1 deletions

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM alpine
RUN apk add git python3 py3-pip
RUN git clone https://git.chauvet.pro/bozogang/bozo-backend app
WORKDIR /app
RUN pip install -r requirements.txt
CMD ["python3", "main.py"]

View File

@ -1,6 +1,6 @@
import json import json
f = open('config.json') f = open('./config/config.json')
data = json.load(f) data = json.load(f)