Skip to content

Commit

Permalink
removing pip after install requirements per prisma results
Browse files Browse the repository at this point in the history
  • Loading branch information
popenc committed Aug 17, 2023
1 parent 8470345 commit 1560b01
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/flask/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ RUN chmod -R 755 /config && \

WORKDIR /cyan_flask

# Removes pip per Prisma scan CVE (still open as of 8/17/23):
RUN rm -rf \
/usr/local/lib/python3.8/site-packages/pip \
/usr/local/bin/pip

# Runs unit tests (needs secret file to run)
# RUN python -m unittest

Expand Down

0 comments on commit 1560b01

Please sign in to comment.