Skip to content

Commit

Permalink
change versions of rasterio and h5py, remove some stuff from the pack…
Browse files Browse the repository at this point in the history
…ages
  • Loading branch information
EC2 Default User committed Apr 26, 2024
1 parent 69f351a commit d4be8fb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions infrastructure/aws/lambda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ RUN find /asset -type d -a -name 'tests' -print0 | xargs -0 rm -rf
RUN rm -rdf /asset/numpy/doc/ /asset/bin /asset/geos_license /asset/Misc
RUN rm -rdf /asset/boto3*
RUN rm -rdf /asset/botocore*
RUN find /asset -type f -path '*LICENSE*' -delete
RUN find /asset -type f -path '*README*' -delete
RUN find /asset -type f -path '*AUTHORS*' -delete
RUN find /asset -type f -path '*pyproject*' -delete
RUN find /asset -type f -path '*setupcf*' -delete

COPY infrastructure/aws/lambda/handler.py /asset/handler.py

Expand Down
5 changes: 5 additions & 0 deletions infrastructure/aws/lambda/Dockerfile.redis
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ RUN find /asset -type d -a -name 'tests' -print0 | xargs -0 rm -rf
RUN rm -rdf /asset/numpy/doc/ /asset/bin /asset/geos_license /asset/Misc
RUN rm -rdf /asset/boto3*
RUN rm -rdf /asset/botocore*
RUN find /asset -type f -path '*LICENSE*' -delete
RUN find /asset -type f -path '*README*' -delete
RUN find /asset -type f -path '*AUTHORS*' -delete
RUN find /asset -type f -path '*pyproject*' -delete
RUN find /asset -type f -path '*setupcf*' -delete

COPY infrastructure/aws/lambda/handler.py /asset/handler.py

Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ dependencies = [
"xarray==2024.3.0",
"rioxarray==0.15.0",
"zarr==2.17.2",
"h5py==3.10.0",
"rasterio==1.3.9",
"fsspec",
"s3fs",
"aiohttp",
Expand Down

0 comments on commit d4be8fb

Please sign in to comment.