From 3c5de6035f256a756e32219be9202b9078541b34 Mon Sep 17 00:00:00 2001 From: dor3Monbotz <118621248+dor3Monbotz@users.noreply.github.com> Date: Wed, 21 Dec 2022 19:37:24 +0530 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4c3804c..6f6aaad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,5 @@ -FROM python:3.8-slim-buster +FROM python:3.10 WORKDIR /app - -COPY requirements.txt requirements.txt -RUN pip3 install -m requirements.txt - -COPY . . - -CMD python3 bot.py +COPY . /app/ +RUN pip install -r requirements.txt +CMD ["python3", "bot.py"]