chore(Dockerfile): Remove build files (#1886)

This commit is contained in:
Pepe Fagoaga
2023-02-13 15:19:05 +01:00
committed by GitHub
parent 14898b6422
commit c6b90044f2

View File

@@ -24,9 +24,9 @@ ENV PATH="$HOME/.local/bin:$PATH"
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir .
# Remove Prowler directory
# Remove Prowler directory and build files
USER 0
RUN rm -rf /home/prowler/prowler /home/prowler/pyproject.toml
RUN rm -rf /home/prowler/prowler /home/prowler/pyproject.toml /home/prowler/build /home/prowler/prowler_cloud.egg-info
USER prowler
ENTRYPOINT ["prowler"]