diff --git a/Dockerfile b/Dockerfile index 0ad015e..42b358f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN python -m venv $VIRTUAL_ENV COPY requirements.txt . RUN pip3 install -r requirements.txt -COPY ./src/* /app/ +COPY ./src/ /app/ VOLUME /config CMD ["python3", "run.py"] diff --git a/src/run.py b/src/run.py index 516351a..fa1ec81 100644 --- a/src/run.py +++ b/src/run.py @@ -40,7 +40,7 @@ class WebServerThread(threading.Thread): return app.response_class(generate(), mimetype='text/plain') - app.run(port=9647) + app.run(port=9647, host="0.0.0.0") def run(self): # Variable that stores the exception, if raised by someFunction