diversify the flask ports, each flask instance has another port to prevent confusion;

This commit is contained in:
Marco Zeisler
2021-05-28 21:16:01 +02:00
parent 399e0a4173
commit ea1e75eb22
8 changed files with 36 additions and 20 deletions
@@ -2,7 +2,7 @@ FROM python:3.8-slim
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
ENV PORT 5000
EXPOSE 5000
ENV PORT 5002
EXPOSE 5002
ENTRYPOINT [ "python" ]
CMD [ "entity_ident_server.py" ]
@@ -67,4 +67,4 @@ def get_traffic_lights_geo():
if __name__ == '__main__':
app.run(host='0.0.0.0')
app.run('0.0.0.0', 5002)