diff --git a/Dockerfile b/Dockerfile index ac5b6e5..473683e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,4 @@ COPY ./src ./app USER td -CMD [ "uwsgi", "--http", "0.0.0.0:80", "-M", "-w" ,"app.app", "--callable", "app" ] +CMD [ "uwsgi", "--http", "0.0.0.0:80", "-Mw" ,"app.app", "--callable", "app" ] diff --git a/src/utils/misc.py b/src/utils/misc.py index e2ba64c..eff0779 100644 --- a/src/utils/misc.py +++ b/src/utils/misc.py @@ -2,7 +2,7 @@ from os import listdir from os import path as os_path from os import remove as os_remove -from config import Config +from utils.config import Config def post_filename(number: int) -> str: