updating deps

This commit is contained in:
2024-05-03 15:45:47 +01:00
parent 9e514354c8
commit f7c698cd64

View File

@@ -7,6 +7,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \ PIP_DEFAULT_TIMEOUT=100 \
PIP_DISABLE_PIP_VERSION_CHECK=1 \ PIP_DISABLE_PIP_VERSION_CHECK=1 \
PIP_NO_CACHE_DIR=1 PIP_NO_CACHE_DIR=1
ENV PATH="${PATH}:/root/.local/bin"
RUN mkdir /src RUN mkdir /src
RUN mkdir /static 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 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 \ RUN apt update \
&& apt install -y npm cron unrar libmariadb-dev libpq-dev pkg-config swig \ && apt install -y npm cron unrar libmariadb-dev libpq-dev pkg-config swig curl \
&& pip install --upgrade pip \ && curl -sSL https://install.python-poetry.org | python3 - \
&& pip install -r requirements.txt \ && poetry config virtualenvs.create false \
&& poetry install --no-dev \
&& cd frontend \ && cd frontend \
&& npm install \ && npm install \
&& npm run build \ && npm run build \