chore(Dockerfile): remove deprecated dash dependencies (#3708)

This commit is contained in:
Sergio Garcia
2024-04-08 14:58:19 +02:00
committed by GitHub
parent abcc9c2c80
commit 0bc16ee5ff

View File

@@ -27,6 +27,10 @@ ENV PATH="$HOME/.local/bin:$PATH"
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir .
# Remove deprecated dash dependencies
RUN pip uninstall dash-html-components -y && \
pip uninstall dash-core-components -y
# Remove Prowler directory and build files
USER 0
RUN rm -rf /home/prowler/prowler /home/prowler/pyproject.toml /home/prowler/README.md /home/prowler/build /home/prowler/prowler.egg-info