File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,17 +10,16 @@ ENV PYTHONPATH=/app
1010RUN apt-get update && apt-get install -y curl unzip \
1111 && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
1212 && apt-get install -y nodejs \
13+ && curl -L -o /tmp/nuclei.zip https://github.com/projectdiscovery/nuclei/releases/download/v3.3.7/nuclei_3.3.7_linux_amd64.zip \
14+ && unzip -o /tmp/nuclei.zip -d /usr/local/bin/ \
15+ && chmod +x /usr/local/bin/nuclei \
16+ && rm /tmp/nuclei.zip \
1317 && apt-get purge -y curl && apt-get autoremove -y \
1418 && rm -rf /var/lib/apt/lists/*
1519
1620COPY webqa_agent/package.json /app/package.json
1721RUN npm install
1822
19- COPY vendor/nuclei_3.3.7_linux_amd64.zip /tmp/nuclei.zip
20- RUN unzip -o /tmp/nuclei.zip -d /usr/local/bin/ \
21- && chmod +x /usr/local/bin/nuclei \
22- && rm /tmp/nuclei.zip
23-
2423COPY webqa_agent/requirements.txt /app/requirements.txt
2524RUN pip install --no-cache-dir --default-timeout=300 -r requirements.txt
2625
You can’t perform that action at this time.
0 commit comments