Skip to content

Commit

Permalink
added trivy scan
Browse files Browse the repository at this point in the history
  • Loading branch information
joelwembo committed Apr 17, 2024
1 parent 9003894 commit 71a8080
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,10 @@ RUN pip install -r requirements.txt
# Copy the current directory contents into the container at /app
# COPY . /app/

# Run vulnerability scan on build image
FROM build AS vulnscan
COPY --from=aquasec/trivy:latest /usr/local/bin/trivy /usr/local/bin/trivy
RUN trivy rootfs --no-progress /

EXPOSE 8585
EXPOSE 8000

0 comments on commit 71a8080

Please sign in to comment.