2022-06-12 20:02:05 +02:00
|
|
|
#Building main conteiner
|
2022-06-12 22:28:16 +02:00
|
|
|
FROM python:slim-buster
|
2022-06-11 21:57:50 +02:00
|
|
|
|
2022-07-07 09:45:27 +02:00
|
|
|
RUN apt-get update && apt-get -y install build-essential libpcre2-dev python-dev git iptables libnetfilter-queue-dev
|
2022-07-01 02:29:28 +02:00
|
|
|
|
2022-06-11 21:57:50 +02:00
|
|
|
RUN mkdir /execute
|
|
|
|
|
WORKDIR /execute
|
|
|
|
|
|
2022-06-28 16:02:52 +02:00
|
|
|
ADD ./backend/requirements.txt /execute/requirements.txt
|
2022-06-28 13:26:06 +02:00
|
|
|
RUN pip install --no-cache-dir -r /execute/requirements.txt
|
2022-06-26 12:15:17 +02:00
|
|
|
|
2022-06-28 16:02:52 +02:00
|
|
|
COPY ./backend/ /execute/
|
2022-06-21 10:37:02 +02:00
|
|
|
COPY ./frontend/build/ ./frontend/
|
2022-06-12 20:02:05 +02:00
|
|
|
|
2022-06-28 13:26:06 +02:00
|
|
|
ENTRYPOINT ["python3", "app.py", "DOCKER"]
|
2022-06-12 20:02:05 +02:00
|
|
|
|
|
|
|
|
|