From 3b11dc8d870508ec0bded4b78f51f1bb5ba22166 Mon Sep 17 00:00:00 2001 From: Sergey Bahmatov Date: Fri, 28 Mar 2025 19:51:08 +0500 Subject: [PATCH] fix Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d01d8fa..a784672 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,11 @@ FROM python:3.11-slim WORKDIR /app -COPY . . +COPY ./pomodoro_bot ./pomodoro_bot +COPY requirements.txt ./ ENV PYTHONPATH=/app RUN pip install --no-cache-dir -r requirements.txt -CMD ["python", "main.py"] \ No newline at end of file +CMD ["python", "-m", "pomodoro_bot.main"] \ No newline at end of file