mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-02-02 06:15:57 +00:00
updating deps
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user