Commit c29f617b authored by Federico Sismondi's avatar Federico Sismondi

Fix containerization of weather app

parent 58c2c908
......@@ -3,7 +3,7 @@
FROM python:3.8-slim-buster
MAINTAINER Federico Sismondi <fsismondi@udgalliance.org>
RUN apt-get update && apt install unzip
#RUN apt-get update && apt install unzip
RUN mkdir /code
WORKDIR /code
......@@ -12,8 +12,7 @@ COPY requirements.txt requirements.txt
RUN pip install --timeout 300 -r requirements.txt
COPY . /code
RUN unzip /code/data_harmonization_tool.zip
CMD ["echo", "please override this CMD with some .sh or .py script call"]
#RUN unzip /code/data_harmonization_tool.zip
CMD python app.py
# docker run -it --rm --name dca-carouge-weather --env ORION_HOST=10.81.6.109 naiades-client ./security_01_get_token_with_password.sh
......@@ -116,7 +116,7 @@ services:
networks:
default:
ipv4_address: 172.18.2.15
command: ./app.py # no sensors, only 3rd party data for the moment
command: python app.py # no sensors, only 3rd party data for the moment
# healthcheck:
# test: curl --fail -s http://dca-carouge-weather:${WMS_MODULE_PORT}/healthcheck || exit 1
# start_period: 40s
......
......@@ -348,7 +348,7 @@ services:
networks:
default:
ipv4_address: 172.18.1.15
command: ./app.py # no sensors, only 3rd party data for the moment
command: python app.py # no sensors, only 3rd party data for the moment
# healthcheck:
# test: curl --fail -s http://dca-carouge-weather:${WMS_MODULE_PORT}/healthcheck || exit 1
# start_period: 40s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment