18 lines
447 B
Docker
Executable File
18 lines
447 B
Docker
Executable File
#Building main conteiner
|
|
FROM python:slim-buster
|
|
|
|
RUN apt-get update && apt-get -y install build-essential libpcre3-dev python-dev git iptables libnetfilter-queue-dev
|
|
|
|
RUN mkdir /execute
|
|
WORKDIR /execute
|
|
|
|
ADD ./backend/requirements.txt /execute/requirements.txt
|
|
RUN pip install --no-cache-dir -r /execute/requirements.txt
|
|
|
|
COPY ./backend/ /execute/
|
|
COPY ./frontend/build/ ./frontend/
|
|
|
|
ENTRYPOINT ["python3", "app.py", "DOCKER"]
|
|
|
|
|