running in docker
This commit is contained in:
parent
4478b14e20
commit
f3ddfc8297
2 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue