Skip to content

Commit

Permalink
update Dockerfile and requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
LocalNewsTV committed Oct 23, 2023
1 parent 67c7206 commit 41d058b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cryptography<=40.0.2
django-reversion==2.0.13
openpyxl==2.5.11
lxml==4.6.3
GDAL>=2.4,<3.0
GDAL>=2.4
deepdiff>=4
urllib3>=1.24,<1.25
djangorestframework-csv==2.1.0
Expand Down
8 changes: 4 additions & 4 deletions openshift/docker/backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM python:3.7.17-bullseye
# registry.access.redhat.com/ubi8/python-38:1


# Switch to root user
#
USER root

# NPROC Gets number of processing units available to system, speeding up build.
RUN NPROC=$(nproc)

# External libraries required by Python GIS extensions (e.g. GeoDjango, GeoAlchemy)
# Install and configure GEOS
#
Expand All @@ -17,7 +17,7 @@ RUN cd /tmp && wget http://download.osgeo.org/geos/geos-3.7.1.tar.bz2 && \
tar xjf geos-3.7.1.tar.bz2 && \
cd geos-3.7.1/ && \
./configure --prefix=/usr/local && \
make -j$NPROC && \
make -j"$NPROC" && \
make install && \
ldconfig && \
cd /tmp && \
Expand All @@ -36,7 +36,7 @@ RUN cd /tmp && wget http://download.osgeo.org/proj/proj-5.2.0.tar.gz && \
tar xzf ../../proj-datumgrid-north-america-1.1.tar.gz && \
cd .. && \
./configure --prefix=/usr/local && \
make -j$NPROC \
make -j"$NPROC" \
&& make install && \
ldconfig && \
rm -rf /tmp/proj-5.2.0 /tmp/proj-5.2.0.tar.gz /tmp/proj-datumgrid-north-america-1.1.tar.gz
Expand Down

0 comments on commit 41d058b

Please sign in to comment.