diff --git a/Dockerfile b/Dockerfile index 366bebc2564c2ed5ae6741e1287dd03872b14958..8887025a317234a42cfffa05908133bcb47aa8bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM registry.gitlab.com/arkindex/backend/base:django-3.1 as build +FROM registry.gitlab.com/arkindex/backend/base:django-3.1-lxml as build RUN mkdir build ADD . build RUN cd build && python3 setup.py sdist -FROM registry.gitlab.com/arkindex/backend/base:django-3.1 +FROM registry.gitlab.com/arkindex/backend/base:django-3.1-lxml ARG COMMON_BRANCH=master ARG COMMON_ID=9855787 diff --git a/Dockerfile.binary b/Dockerfile.binary index e072406b890fd96d28f2cc8ad6b437c1d7c1194b..1f9fb3ef15d7dfd4afb91a6be5227a113a63c9f6 100644 --- a/Dockerfile.binary +++ b/Dockerfile.binary @@ -57,7 +57,7 @@ RUN python -m nuitka \ arkindex/manage.py # Start over from a clean setup -FROM registry.gitlab.com/arkindex/backend/base:django-3.1 as build +FROM registry.gitlab.com/arkindex/backend/base:django-3.1-lxml as build # Import files from compilation RUN mkdir /usr/share/arkindex diff --git a/base/requirements.txt b/base/requirements.txt index fbbd84f820f8e112e7fe5f061f4cc14bd343f103..36c7c1f66063f19c30b081cb53f99b7a18b771fb 100644 --- a/base/requirements.txt +++ b/base/requirements.txt @@ -4,6 +4,7 @@ Django==3.1 elasticsearch==6.2.0 hiredis==1.0.0 ijson==2.3 +lxml==4.2.3 openpyxl==2.4.9 psycopg2==2.8.5 python-Levenshtein==0.12.0