Skip to content

Commit

Permalink
consistency install in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Oct 4, 2024
1 parent 9d9ef1b commit c7524fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 5 additions & 4 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@ RUN pip install -r /tmp/docker-requirements.txt
COPY requirements.txt requirements.txt
COPY api-requirements.txt api-requirements.txt
# Don't use legacy resolver , TODO : fix this dependencies
RUN pip install --use-deprecated=legacy-resolver -r api-requirements.txt
# RUN pip install --use-deprecated=legacy-resolver -r api-requirements.txt

RUN pip install setuptools==68.2.2
RUN pip install build==0.41.3

RUN pip install --use-deprecated=legacy-resolver -r requirements.txt
RUN pip install wheel==0.41.3
RUN pip install build==1.0.0

RUN pip install -r requirements.txt

# RUN pip install --use-deprecated=legacy-resolver -r requirements.txt
COPY docker/ramp/solaris /tmp/solaris
RUN pip install /tmp/solaris --use-feature=in-tree-build && \
pip install scikit-fmm --use-feature=in-tree-build
Expand Down
3 changes: 0 additions & 3 deletions backend/Dockerfile_CPU
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ 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 api-requirements.txt


RUN pip install -r requirements.txt

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

0 comments on commit c7524fc

Please sign in to comment.