From 079c578c4872b5bb50edf1dd5fcfa7cf4d420696 Mon Sep 17 00:00:00 2001 From: Tolmachev Igor Date: Mon, 20 Apr 2026 19:10:59 +0300 Subject: Fix docker file --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 4a1ddad..ec2514d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,11 +7,12 @@ RUN sed -i -e 's/# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen RUN locale-gen WORKDIR /app -COPY requirements.txt . +COPY pyproject.toml . RUN pip install pip -U -RUN pip install -r requirements.txt +RUN pip install . COPY . . +ARG CACHEBUST=1 RUN alembic upgrade head CMD ["python", "main.py"] -- cgit v1.3