New Changes about folders and volumens in docker-compose

pull/732/head
MoisesTapia 2020-07-27 10:54:00 -05:00
parent 46b97b2d69
commit a90a92fed4
No known key found for this signature in database
GPG Key ID: BE22111DAB113FC3
2 changed files with 4 additions and 12 deletions

View File

@ -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

View File

@ -14,7 +14,7 @@ services:
stdin_open: true
tty: true
volumes:
- $PWD/../WebPages:/home/HiddenEye/WebPages
- $PWD/WebPages:/home/WebPages
networks:
- internet
restart: always