Files
rengine/Dockerfile
T
2020-07-03 00:07:22 +05:30

19 lines
373 B
Docker

FROM python:3
ENV PYTHONUNBUFFERED 1
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update -y && apt install -y \
build-essential \
chromium \
libpq-dev \
nmap
COPY ./requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt
RUN mkdir /app
WORKDIR /app
COPY . /app/
RUN chmod +x /app/tools/get_subdomain.sh
RUN chmod +x /app/tools/get_dirs.sh