ale commited on
Commit
6454a89
1 Parent(s): bf5d95f

[ci] use requirements.txt in dockerfile-lambda-gdal-runner

Browse files
dockerfiles/dockerfile-lambda-gdal-runner CHANGED
@@ -9,14 +9,14 @@ RUN echo "ENV RIE: $RIE ..."
9
 
10
  # Set working directory to function root directory
11
  WORKDIR ${LAMBDA_TASK_ROOT}
12
- COPY requirements_dev.txt ${LAMBDA_TASK_ROOT}/requirements_dev.txt
13
 
14
  # avoid segment-geospatial exception caused by missing libGL.so.1 library
15
  RUN apt update && apt install -y libgl1 curl python3-pip
16
  RUN ls -ld /usr/lib/*linux-gnu/libGL.so* || echo "libGL.so* not found..."
17
  RUN which python
18
  RUN python --version
19
- RUN python -m pip install -r ${LAMBDA_TASK_ROOT}/requirements_dev.txt --target ${LAMBDA_TASK_ROOT}
20
  RUN python -c "import sys;print(sys.path)"
21
  # RUN python -m pip install pillow awslambdaric aws-lambda-powertools httpx jmespath --target ${LAMBDA_TASK_ROOT}
22
 
 
9
 
10
  # Set working directory to function root directory
11
  WORKDIR ${LAMBDA_TASK_ROOT}
12
+ COPY requirements_dev.txt ${LAMBDA_TASK_ROOT}/requirements.txt
13
 
14
  # avoid segment-geospatial exception caused by missing libGL.so.1 library
15
  RUN apt update && apt install -y libgl1 curl python3-pip
16
  RUN ls -ld /usr/lib/*linux-gnu/libGL.so* || echo "libGL.so* not found..."
17
  RUN which python
18
  RUN python --version
19
+ RUN python -m pip install -r ${LAMBDA_TASK_ROOT}/requirements.txt --target ${LAMBDA_TASK_ROOT}
20
  RUN python -c "import sys;print(sys.path)"
21
  # RUN python -m pip install pillow awslambdaric aws-lambda-powertools httpx jmespath --target ${LAMBDA_TASK_ROOT}
22
 
requirements_dev.txt CHANGED
@@ -10,7 +10,6 @@ pillow
10
  pydantic>=2.0.3
11
  pytest
12
  pytest-cov
13
- pytest-dotenv
14
  python-dotenv
15
  rasterio
16
  requests
 
10
  pydantic>=2.0.3
11
  pytest
12
  pytest-cov
 
13
  python-dotenv
14
  rasterio
15
  requests