Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix description not available and optimize sastjob with aiohttp and asyncio for faster execution #56

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
12 changes: 9 additions & 3 deletions sast-job/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# syntax = docker/dockerfile:1.6

FROM python:3.8-slim
FROM python:3.9-slim

ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONDONTWRITEBYTECODE=1
WORKDIR /app

RUN apt-get update -y && apt-get install --no-install-recommends -y curl python3-pip nodejs npm && pip3 install requests bs4 lxml
# Install Node.js and Python dependencies
RUN apt-get update && apt-get install --no-install-recommends -y \
nodejs \
npm \
&& pip install aiohttp==3.8.5 tqdm==4.65.0 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

COPY sq-job.py .

Expand Down
Loading