From 95b924fa60ec92f759072fb3b47e4c7d8efc0161 Mon Sep 17 00:00:00 2001 From: Jody Brazil Date: Mon, 15 Jun 2020 18:08:42 -0500 Subject: [PATCH] updates to dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a16352bf..486d767d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file + python controller.py \ No newline at end of file