Skip to content

Commit

Permalink
fix: orjson installation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshojha committed Aug 9, 2024
1 parent 2e0b243 commit 2ea86db
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 pip 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 2ea86db

Please sign in to comment.