mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-17 23:37:47 +02:00
23 lines
540 B
Docker
23 lines
540 B
Docker
FROM python:3
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt update -y && apt install -y \
|
|
build-essential \
|
|
curl \
|
|
wget \
|
|
libpq-dev \
|
|
nmap
|
|
|
|
RUN curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
|
RUN apt-get install -y ./google-chrome-stable_current_amd64.deb
|
|
RUN rm google-chrome-stable_current_amd64.deb
|
|
|
|
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
|