Unable to get image to use my git repository

So added custom commands to replace repo files
This commit is contained in:
JonathanHerrewijnen 2022-11-30 15:09:57 +00:00
parent 908949ed89
commit b2a6fa5177
2 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/calibre-web FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@ -41,7 +41,7 @@ RUN \
unzip \ unzip \
/tmp/calibre-web.zip -d \ /tmp/calibre-web.zip -d \
/app && \ /app && \
mv /app/calibre-web-features/* /app/calibre-web && \ cp -r /app/calibre-web-features /app/calibre-web && rm -r /app/calibre-web-features && \
cd /app/calibre-web && \ cd /app/calibre-web && \
pip3 install --no-cache-dir -U \ pip3 install --no-cache-dir -U \
pip wheel && \ pip wheel && \

View File

@ -0,0 +1,9 @@
# Make sure git is installed
apt-get update -y
apt-get install git -y
mkdir /app/temp
cd /app/temp
git clone -b features https://github.com/JonathanHerrewijnen/calibre-web.git
cp calibre-web/cps/* ../calibre-web/cps/ -r -f
rm -r /app/temp