diff --git a/Dockerfile b/Dockerfile index f5a857a..6d86bf4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,13 @@ -FROM python:3.10-slim +FROM python:3-slim ENV DOCKERIZED=true WORKDIR /app +RUN pip install pipenv + COPY Pipfile Pipfile.lock ./ -RUN pip install pipenv && pipenv install --system --deploy +RUN pipenv install --system --deploy COPY bot . diff --git a/Pipfile b/Pipfile index 2469b03..d89fd45 100644 --- a/Pipfile +++ b/Pipfile @@ -6,6 +6,7 @@ name = "pypi" [packages] peewee = "*" python-telegram-bot = {extras = ["job-queue"], version = "*"} +anyio = "*" [dev-packages] diff --git a/Pipfile.lock b/Pipfile.lock index 5172015..33e4ad6 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "cd959bb2617886ea733bed6ee34cda38a9ab3c744963543582bb7e18ca1c9722" + "sha256": "5458e81c4f85af776acc44f46af838644ef8c00ccf4223fbe06f9d76a4717fc6" }, "pipfile-spec": 6, "requires": {}, @@ -19,7 +19,7 @@ "sha256:48d53f0b141f5757c38d648309e6fe254857fae092d67f938fa248d7c0f36804", "sha256:596b09c520820e7eed961ddc889540972f92d5e8fcb081117fc054c409df34ae" ], - "markers": "python_version >= '3.8'", + "index": "pypi", "version": "==4.0.0rc1" }, "apscheduler": {