Skip to content

Commit

Permalink
Merge pull request #19 from bnubald/18_python_update
Browse files Browse the repository at this point in the history
Fixes #18: Update to Python 3.9, and icenet v0.2.9_dev
  • Loading branch information
bnubald authored Nov 3, 2024
2 parents 2c28a74 + 4d94210 commit 5e126c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# To enable ssh & remote debugging on app service change the base image to the one below
# FROM mcr.microsoft.com/azure-functions/python:4-python3.8-appservice
FROM mcr.microsoft.com/azure-functions/python:4-python3.8-appservice
FROM mcr.microsoft.com/azure-functions/python:4-python3.9-appservice

ENV AzureFunctionsJobHost__Logging__Console__IsEnabled=true \
PYTHON_ISOLATE_WORKER_DEPENDENCIES=1
Expand All @@ -15,6 +14,6 @@ RUN apt-get update && apt-get install -y \
apt-get clean && \
pip --no-cache-dir install --prefer-binary -r requirements.txt

COPY icenet-0.2.6a1-py2.py3-none-any.whl /
RUN pip install --no-deps /icenet-0.2.6a1-py2.py3-none-any.whl
COPY icenet-0.2.9.dev0-py2.py3-none-any.whl /
RUN pip install --no-deps /icenet-0.2.9.dev0-py2.py3-none-any.whl
COPY . /home/site/wwwroot
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ urllib3<=2.0.0
cartopy
cfgrib
eccodes
h5py==2.10.0
ecmwflibs
h5py
ibicus
matplotlib
netcdf4
Expand Down

0 comments on commit 5e126c3

Please sign in to comment.