core: put config in json
This commit is contained in:
parent
30400f18c5
commit
edb1756c69
7
Dockerfile
Normal file
7
Dockerfile
Normal 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"]
|
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user