Skip to content

Commit 5d16f59

Browse files
committed
Pin lxml dependency on 5.0.2 and move dependencies to requirements.txt to support local builds.
1 parent 4054735 commit 5d16f59

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ RUN apt-get -y update \
1818
libjpeg-dev \
1919
&& rm -rf /var/lib/apt/lists/*
2020

21-
RUN pip3 install flup Numpy PyYAML boto3 Pillow requests Shapely eventlet gunicorn uwsgi prometheus_client lxml azure-storage-blob pyproj==2.2.0
21+
COPY requirements.txt requirements.txt
22+
RUN pip3 install --requirement requirements.txt
2223
# use the PDOK fork of MapProxy. This is MapProxy version 1.13.1 but patched with https://github.com/mapproxy/mapproxy/pull/608
2324
RUN pip3 install git+https://github.com/PDOK/mapproxy.git@pdok-1.13.2-patched-2
2425

requirements.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
flup
2+
Numpy
3+
PyYAML
4+
boto3
5+
Pillow
6+
requests
7+
Shapely
8+
eventlet
9+
gunicorn
10+
uwsgi
11+
prometheus_client
12+
lxml==5.0.2
13+
azure-storage-blob
14+
pyproj==2.2.0

0 commit comments

Comments
 (0)