Correction QA: Validation arborescence + qualité/sécurité, ajout logique de fin complète, suppression repo non conforme
This commit is contained in:
@@ -3,7 +3,7 @@ FROM semgrep/semgrep:latest
|
||||
USER root
|
||||
|
||||
RUN sed -i 's/https/http/g' /etc/apk/repositories && \
|
||||
apk update && apk add --no-cache python3 py3-pip
|
||||
apk update && apk add --no-cache python3 py3-pip git
|
||||
|
||||
RUN pip install --no-cache-dir \
|
||||
--trusted-host pypi.org \
|
||||
@@ -13,6 +13,10 @@ RUN pip install --no-cache-dir \
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# COPY r2c-security-audit.yaml /app/r2c-security-audit.yaml
|
||||
COPY rules/ /app/rules/
|
||||
RUN sed -i 's/adjust_for_docker()/pass/g' /usr/lib/python3.12/site-packages/semgrep/commands/scan.py
|
||||
|
||||
COPY main.py .
|
||||
|
||||
EXPOSE 8004
|
||||
|
||||
Reference in New Issue
Block a user