From 6edca401f5db0fba19723029aa2a43b1708648c4 Mon Sep 17 00:00:00 2001 From: MoisesTapia Date: Sun, 26 Jul 2020 17:14:24 -0500 Subject: [PATCH] New Updates over files --- Docker/Dockerfile | 13 +++++++++---- Docker/docker-compose.yml | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Docker/Dockerfile b/Docker/Dockerfile index c087d07..5d238d7 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -1,3 +1,9 @@ +FROM python:3.7 as builder + +WORKDIR /home/ + +RUN git clone https://github.com/DarkSecDevelopers/HiddenEye + FROM debian:10 LABEL maintaner="Equinockx moisestapia741@gmail.com" @@ -5,8 +11,7 @@ WORKDIR /home/ RUN apt-get update -RUN apt-get install -y --no-install-recommends git && \ - apt-get install --no-install-recommends -y python3.7 && \ +RUN apt-get install --no-install-recommends -y python3.7 && \ apt-get install -y python3-pip && \ apt-get install --no-install-recommends -y php @@ -14,8 +19,8 @@ RUN apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -RUN git clone https://github.com/DarkSecDevelopers/HiddenEye - WORKDIR /home/HiddenEye/ +COPY --from=builder /home/HiddenEye/ . + RUN pip3 install -r requirements.txt \ No newline at end of file diff --git a/Docker/docker-compose.yml b/Docker/docker-compose.yml index 4ca93dd..e870e8e 100644 --- a/Docker/docker-compose.yml +++ b/Docker/docker-compose.yml @@ -14,7 +14,7 @@ services: stdin_open: true tty: true volumes: - - $PWD/WebPages:/home/HiddenEye/WebPages + - $PWD/../WebPages:/home/HiddenEye/WebPages networks: - internet restart: always