# This image is used in a cronjob environment # to download forcing data and update a telemac # model repository hosted on gitlab. # # All parameters are passed as environment variables # documented in the entrypoint.sh script and the # download-forcing.py script. # FROM python:3.12 # Set the working directory in the container # and copy the local content into the image RUN mkdir /download-forcing WORKDIR /download-forcing COPY . . # Install the dependencies and make the # entrypoint script executable RUN pip install -r requirements.txt && \ chmod +x entrypoint.sh # Run the entrypoint script when the container starts ENTRYPOINT ["./entrypoint.sh"]