File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Stage 0 - Create from Python3.9.7 image
2- FROM python:3.9.7 -slim-buster as stage0
2+ FROM python:3.12 -slim-bookworm AS stage0
33
44# Stage 1 - Debian dependencies
5- FROM stage0 as stage1
5+ FROM stage0 AS stage1
66RUN apt update \
77 && DEBIAN_FRONTEND=noninteractive apt install -y curl zip python3-dev build-essential libhdf5-serial-dev netcdf-bin libnetcdf-dev
88
99# Stage 2 - Create virtual environment and install dependencies
10- FROM stage1 as stage2
10+ FROM stage1 AS stage2
1111COPY requirements.txt /app/requirements.txt
1212RUN /usr/local/bin/python3 -m venv /app/env
1313RUN /app/env/bin/pip install -r /app/requirements.txt
1414
1515# Stage 3 - Copy Output code
16- FROM stage2 as stage3
16+ FROM stage2 AS stage3
1717COPY ./metadata /app/metadata/
1818COPY ./output /app/output/
1919COPY ./run_output.py /app/run_output.py
2020
2121# Stage 4 - Execute algorithm
22- FROM stage3 as stage4
22+ FROM stage3 AS stage4
2323LABEL version="1.0" \
2424 description="Containerized Output module." \
25- "confluence.contact" ="ntebaldi@umass .edu" \
26- "algorithm.contact" ="ntebaldi@umass .edu"
25+ "confluence.contact" ="ntebaldi@umASs .edu" \
26+ "algorithm.contact" ="ntebaldi@umASs .edu"
2727ENTRYPOINT ["/app/env/bin/python3" , "/app/run_output.py" ]
Original file line number Diff line number Diff line change 1- boto3 == 1.34.1
2- botocore == 1.34.1
3- certifi == 2023.11.17
4- cftime == 1.6.3
1+ boto3 == 1.39.9
2+ botocore == 1.39.9
3+ certifi == 2025.7.14
4+ cftime == 1.6.4.post1
55jmespath == 1.0.1
6- netCDF4 == 1.6.5
7- numpy == 1.26.2
8- packaging == 23.2
9- pandas == 2.1.4
10- python-dateutil == 2.8.2
11- pytz == 2023.3.post1
12- s3transfer == 0.9.0
13- six == 1.16 .0
14- tzdata == 2023.3
15- urllib3 == 1.26.18
16- xarray == 2023.12.0
6+ netCDF4 == 1.7.2
7+ numpy == 2.3.1
8+ packaging == 25.0
9+ pandas == 2.3.1
10+ python-dateutil == 2.9.0.post0
11+ pytz == 2025.2
12+ s3transfer == 0.13.1
13+ six == 1.17 .0
14+ tzdata == 2025.2
15+ urllib3 == 2.5.0
16+ xarray == 2025.7.1
You can’t perform that action at this time.
0 commit comments