From b45e667c864875d3177d1ef8b216b4b018f899e8 Mon Sep 17 00:00:00 2001 From: Ajurna Date: Thu, 2 Jun 2022 17:06:50 +0100 Subject: [PATCH] changed image base to debian as alpine doesnt have unrar any more. --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fa38045..0683ee1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,9 @@ ENV PIP_DEFAULT_TIMEOUT=100 \ PIP_NO_CACHE_DIR=1 RUN apt update +RUN apt install -y software-properties-common +RUN apt-add-repository non-free +RUN apt update COPY requirements.txt /src COPY package.json /src @@ -27,7 +30,8 @@ COPY package-lock.json /src # && pip install -r requirements.txt \ # && apt remove build-essential postgresql-dev mariadb-dev mariadb-connector-c-dev mupdf-dev python3-dev freetype-dev libffi-dev jbig2dec-dev jpeg-dev openjpeg-dev harfbuzz-dev npm -RUN apt install -y npm cron \ +RUN apt install -y software-properties-common \ + && apt install -y npm cron unrar \ && npm install \ && pip install --upgrade pip \ && pip install -r requirements.txt \