Skip to content

Commit

Permalink
fix(docker): update pip installation command and upgrade fairpredicto…
Browse files Browse the repository at this point in the history
…r version
  • Loading branch information
kshitijrajsharma committed Nov 25, 2024
1 parent e64216c commit 4011806
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ RUN apt-get update && \
ENV CPLUS_INCLUDE_PATH=/usr/include/gdal
ENV C_INCLUDE_PATH=/usr/include/gdal

RUN /usr/bin/python3 -m pip install --upgrade pip

RUN pip install numpy==1.23.5
RUN pip install --global-option=build_ext --global-option="-I/usr/include/gdal" GDAL==$(gdal-config --version)
Expand All @@ -28,7 +27,7 @@ RUN pip install setuptools==68.2.2
RUN pip install wheel==0.41.3
RUN pip install build==1.0.0

RUN pip install -r requirements.txt
RUN pip install --upgrade pip && pip install -r requirements.txt

# RUN pip install --use-deprecated=legacy-resolver -r requirements.txt
COPY docker/ramp/solaris /tmp/solaris
Expand Down
5 changes: 1 addition & 4 deletions backend/Dockerfile_CPU
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ RUN apt-get update && \
ENV CPLUS_INCLUDE_PATH=/usr/include/gdal
ENV C_INCLUDE_PATH=/usr/include/gdal

RUN /usr/bin/python3 -m pip install --upgrade pip


RUN pip install numpy==1.23.5
RUN pip install --global-option=build_ext --global-option="-I/usr/include/gdal" GDAL==$(gdal-config --version)

Expand All @@ -30,7 +27,7 @@ RUN pip install setuptools==68.2.2
RUN pip install wheel==0.41.3
RUN pip install build==1.0.0

RUN pip install -r requirements.txt
RUN pip install --upgrade pip && pip install -r requirements.txt

# RUN pip install --use-deprecated=legacy-resolver -r requirements.txt

Expand Down
3 changes: 1 addition & 2 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ dependencies = [
"gpxpy==1.5.0",
"geojson2osm==0.0.1",
"osmconflator==0.0.9",
"orthogonalizer==0.0.4",
"fairpredictor==0.0.26",
"fairpredictor==0.0.36",
"tflite-runtime==2.14.0",
"hot-fair-utilities==1.2.3",
]
Expand Down

0 comments on commit 4011806

Please sign in to comment.