From f7c698cd643c7a4f3274bd29b7267a53c5b71ef3 Mon Sep 17 00:00:00 2001 From: Ajurna Date: Fri, 3 May 2024 15:45:47 +0100 Subject: [PATCH] updating deps --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 82ab38f..db9b73a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ ENV PYTHONFAULTHANDLER=1 \ PIP_DEFAULT_TIMEOUT=100 \ PIP_DISABLE_PIP_VERSION_CHECK=1 \ PIP_NO_CACHE_DIR=1 +ENV PATH="${PATH}:/root/.local/bin" RUN mkdir /src RUN mkdir /static @@ -17,11 +18,11 @@ COPY . /src/ RUN echo "deb http://ftp.uk.debian.org/debian bookworm non-free non-free-firmware" > /etc/apt/sources.list.d/non-free.list - RUN apt update \ - && apt install -y npm cron unrar libmariadb-dev libpq-dev pkg-config swig \ - && pip install --upgrade pip \ - && pip install -r requirements.txt \ + && apt install -y npm cron unrar libmariadb-dev libpq-dev pkg-config swig curl \ + && curl -sSL https://install.python-poetry.org | python3 - \ + && poetry config virtualenvs.create false \ + && poetry install --no-dev \ && cd frontend \ && npm install \ && npm run build \