Skip to content

Commit

Permalink
Merge pull request #1363 from yogeshojha/1362-bug-rengine-installatio…
Browse files Browse the repository at this point in the history
…n-error-failed-during-requirements-installation

fix: reNgine installation issue due to orjson and langchain #1362
  • Loading branch information
yogeshojha authored Aug 9, 2024
2 parents 2e0b243 + 2478cad commit 16dcde5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ RUN ARCH=$(dpkg --print-architecture) \
&& rm ${GECKOPATH} \
&& mv geckodriver /usr/bin

# Install Rust for orjson
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN pip3 install maturin

# Make directory for app
WORKDIR /usr/src/app

Expand Down Expand Up @@ -102,11 +107,11 @@ RUN nuclei -update-templates

# Copy requirements
COPY ./requirements.txt /tmp/requirements.txt
RUN pip3 install --upgrade setuptools==72.1.0 pip && \
pip3 install -r /tmp/requirements.txt --no-cache-dir
RUN pip3 install --upgrade setuptools==72.1.0
RUN pip3 install -r /tmp/requirements.txt --no-cache-dir

# install eyewitness
RUN python3 -m pip install --no-cache-dir fuzzywuzzy \
RUN pip3 install --no-cache-dir fuzzywuzzy \
selenium==4.9.1 \
python-Levenshtein \
pyvirtualdisplay \
Expand Down

0 comments on commit 16dcde5

Please sign in to comment.