New Changes about folders and volumens in docker-compose
parent
46b97b2d69
commit
a90a92fed4
|
@ -1,14 +1,10 @@
|
||||||
FROM python:3.7 as builder
|
|
||||||
|
|
||||||
WORKDIR /home/
|
|
||||||
|
|
||||||
RUN git clone https://github.com/DarkSecDevelopers/HiddenEye
|
|
||||||
|
|
||||||
FROM debian:10
|
FROM debian:10
|
||||||
LABEL maintaner="Equinockx moisestapia741@gmail.com"
|
LABEL MAINTAINER="Equinockx moisestapia741@gmail.com"
|
||||||
|
|
||||||
WORKDIR /home/
|
WORKDIR /home/
|
||||||
|
|
||||||
|
COPY . /home/
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
|
||||||
RUN apt-get install -y --no-install-recommends python3.7 && \
|
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 && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /home/HiddenEye/
|
|
||||||
|
|
||||||
COPY --from=builder /home/HiddenEye/ .
|
|
||||||
|
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
|
@ -14,7 +14,7 @@ services:
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
volumes:
|
volumes:
|
||||||
- $PWD/../WebPages:/home/HiddenEye/WebPages
|
- $PWD/WebPages:/home/WebPages
|
||||||
networks:
|
networks:
|
||||||
- internet
|
- internet
|
||||||
restart: always
|
restart: always
|
Loading…
Reference in New Issue