Skip to content

Commit

Permalink
updates to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jodybrazil committed Jun 15, 2020
1 parent bc1b8a1 commit 95b924f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ LABEL maintainer="https://github.com/jonrau1" \
description="Continuously monitor your AWS services for configurations that can lead to degradation of confidentiality, integrity or availability. All results will be sent to Security Hub for further aggregation and analysis."

COPY requirements.txt /tmp/requirements.txt
COPY audit_controller.py .
# NOTE: this will copy current auditors to container along with the required controller files
COPY ./eeauditor/ ./

RUN pip3 install -r /tmp/requirements.txt

CMD \
aws s3 cp s3://${SH_SCRIPTS_BUCKET}/ ./auditors --recursive && \
python audit_controller.py
python controller.py

0 comments on commit 95b924f

Please sign in to comment.