Dockerfile 665 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# This is for building docker images for running the scripts

FROM python:3.8-slim-buster
MAINTAINER Federico Sismondi <fsismondi@udgalliance.org>

RUN apt-get update

RUN mkdir /code
WORKDIR /code

COPY requirements.txt requirements.txt
RUN pip install --timeout 300 -r requirements.txt

COPY . /code
CMD ["echo", "please override this CMD with some .sh or .py script call"]

# docker run -it --rm --name weather-data-collection-carouge --env ORION_HOST=10.81.6.109 naiades-client ./weather_02_get_all_raw_data.py
# docker run -it --rm --name weather-use-case-collection-carouge --env ORION_HOST=10.81.6.109 naiades-client ./security_01_get_token_with_password.sh