From 2029aadbfb95b9b4a8c773d9d80bf25a7c6cb2b9 Mon Sep 17 00:00:00 2001 From: git Date: Thu, 11 Feb 2021 12:29:38 +0100 Subject: [PATCH] fixed docker --- dockerfile | 2 +- src/app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfile b/dockerfile index 0b64536..050cf55 100644 --- a/dockerfile +++ b/dockerfile @@ -5,4 +5,4 @@ WORKDIR /code/ RUN pip install -r /code/requirements.txt -CMD ["python","src/api.py"] \ No newline at end of file +CMD ["python","src/app.py"] \ No newline at end of file diff --git a/src/app.py b/src/app.py index d5eb368..6de38b4 100644 --- a/src/app.py +++ b/src/app.py @@ -52,5 +52,5 @@ def wakeup(): if __name__ == '__main__': config = configparser.ConfigParser(interpolation=None) - config.read('config.ini') + config.read('../config.ini') app.run(host='0.0.0.0') \ No newline at end of file