From a90a92fed4f2a71291d23b84475b972107ede83d Mon Sep 17 00:00:00 2001 From: MoisesTapia Date: Mon, 27 Jul 2020 10:54:00 -0500 Subject: [PATCH] New Changes about folders and volumens in docker-compose --- Docker/Dockerfile => Dockerfile | 14 +++----------- Docker/docker-compose.yml => docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) rename Docker/Dockerfile => Dockerfile (57%) rename Docker/docker-compose.yml => docker-compose.yml (85%) diff --git a/Docker/Dockerfile b/Dockerfile similarity index 57% rename from Docker/Dockerfile rename to Dockerfile index 172bfbe..ac7af7a 100644 --- a/Docker/Dockerfile +++ b/Dockerfile @@ -1,14 +1,10 @@ -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" +LABEL MAINTAINER="Equinockx moisestapia741@gmail.com" WORKDIR /home/ +COPY . /home/ + RUN apt-get update RUN apt-get install -y --no-install-recommends python3.7 && \ @@ -17,8 +13,4 @@ RUN apt-get install -y --no-install-recommends python3.7 && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -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-compose.yml similarity index 85% rename from Docker/docker-compose.yml rename to docker-compose.yml index e870e8e..42e24d3 100644 --- a/Docker/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: stdin_open: true tty: true volumes: - - $PWD/../WebPages:/home/HiddenEye/WebPages + - $PWD/WebPages:/home/WebPages networks: - internet restart: always