Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Jul 5, 2021
1 parent c0ee5d6 commit 6dddfda
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 @@ -2,6 +2,11 @@ FROM python:3.9-slim-buster

LABEL maintainer="Tonye Jack <jtonye@ymail.com>"

RUN python3 -m venv /venv && \
/venv/bin/pip3 install bandit

ENV PATH="/venv/bin:${PATH}"

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 6dddfda

Please # to comment.