diff --git a/Dockerfile b/Dockerfile index a784672..95d7ab5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,10 @@ FROM python:3.11-slim WORKDIR /app -COPY ./pomodoro_bot ./pomodoro_bot -COPY requirements.txt ./ +COPY ./src /app ENV PYTHONPATH=/app RUN pip install --no-cache-dir -r requirements.txt -CMD ["python", "-m", "pomodoro_bot.main"] \ No newline at end of file +CMD ["python", "-m", "pomodoro_bot.main"] diff --git a/pomodoro_bot/__init__.py b/src/pomodoro_bot/__init__.py similarity index 100% rename from pomodoro_bot/__init__.py rename to src/pomodoro_bot/__init__.py diff --git a/pomodoro_bot/bot.py b/src/pomodoro_bot/bot.py similarity index 100% rename from pomodoro_bot/bot.py rename to src/pomodoro_bot/bot.py diff --git a/pomodoro_bot/main.py b/src/pomodoro_bot/main.py similarity index 100% rename from pomodoro_bot/main.py rename to src/pomodoro_bot/main.py diff --git a/pomodoro_bot/models.py b/src/pomodoro_bot/models.py similarity index 100% rename from pomodoro_bot/models.py rename to src/pomodoro_bot/models.py diff --git a/pomodoro_bot/redis_client.py b/src/pomodoro_bot/redis_client.py similarity index 100% rename from pomodoro_bot/redis_client.py rename to src/pomodoro_bot/redis_client.py diff --git a/pomodoro_bot/time_magager.py b/src/pomodoro_bot/time_magager.py similarity index 100% rename from pomodoro_bot/time_magager.py rename to src/pomodoro_bot/time_magager.py diff --git a/pomodoro_bot/user_manager.py b/src/pomodoro_bot/user_manager.py similarity index 100% rename from pomodoro_bot/user_manager.py rename to src/pomodoro_bot/user_manager.py