From e032032325ea5d0aad6f1f8b86e0376b83320f18 Mon Sep 17 00:00:00 2001 From: soaska Date: Mon, 29 Jan 2024 13:53:49 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/Dockerfile b/Dockerfile index 62ec62e..ecd7f49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,14 @@ -FROM python:3.11-slim-bullseye - -WORKDIR /app/ - -COPY requirements.txt . - -RUN pip install -r requirements.txt --no-cache-dir - -RUN playwright install chromium - -RUN playwright install-deps - -COPY . . - -ENTRYPOINT ["python", "main.py"] - +FROM python:3.11-slim-bullseye + +WORKDIR /app/ + +COPY requirements.txt . + +RUN pip install -r requirements.txt --no-cache-dir +RUN playwright install chromium +RUN playwright install-deps + +COPY . . + +ENTRYPOINT ["python", "main.py"] CMD [ "start" ] \ No newline at end of file