From e241acdb0af98ca89822e81d03eaab4724b049ef Mon Sep 17 00:00:00 2001 From: Tom <48766856+humandecoded@users.noreply.github.com> Date: Wed, 29 Jul 2020 08:58:20 -0400 Subject: [PATCH 1/2] Update finalrecon.py --- finalrecon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/finalrecon.py b/finalrecon.py index 381dfd4..79c1813 100644 --- a/finalrecon.py +++ b/finalrecon.py @@ -21,8 +21,9 @@ pass else: pass +path_to_script = os.path.dirname(os.path.realpath(__file__)) -with open('requirements.txt', 'r') as rqr: +with open(path_to_script + '/requirements.txt', 'r') as rqr: pkg_list = rqr.read().strip().split('\n') print('\n' + G + '[+]' + C + ' Checking Dependencies...' + W + '\n') From 90093a69e6e42c7d3157d2f9fee4429a1edf2461 Mon Sep 17 00:00:00 2001 From: thewhiteh4t Date: Wed, 5 Aug 2020 12:23:31 +0530 Subject: [PATCH 2/2] fixed dockerfile wheel issue --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9b5b154..301083f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,7 @@ RUN rm -rf /var/cache/apk/* WORKDIR /root RUN git clone https://github.com/thewhiteh4t/finalrecon.git WORKDIR /root/finalrecon/ +RUN pip3 install wheel RUN pip3 install --upgrade pip RUN pip3 install -r requirements.txt -ENTRYPOINT ["python3", "finalrecon.py"] \ No newline at end of file +ENTRYPOINT ["python3", "finalrecon.py"]