fix up py cryptography build and clean cache
This commit is contained in:
parent
f8b54b8116
commit
7ea6d2ea6d
10
Dockerfile
10
Dockerfile
@ -42,9 +42,10 @@ RUN \
|
||||
/tmp/calibre-web.tar.gz -C \
|
||||
/app/calibre-web --strip-components=1 && \
|
||||
cd /app/calibre-web && \
|
||||
pip3 install --no-cache-dir -U -r \
|
||||
requirements.txt && \
|
||||
pip3 install --no-cache-dir -U -r \
|
||||
pip3 install --no-cache-dir -U \
|
||||
pip && \
|
||||
pip install --no-cache-dir -U -r \
|
||||
requirements.txt -r \
|
||||
optional-requirements.txt && \
|
||||
echo "***install kepubify" && \
|
||||
if [ -z ${KEPUBIFY_RELEASE+x} ]; then \
|
||||
@ -64,7 +65,8 @@ RUN \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
/var/tmp/* \
|
||||
/root/.cache
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
@ -49,9 +49,10 @@ RUN \
|
||||
/tmp/calibre-web.tar.gz -C \
|
||||
/app/calibre-web --strip-components=1 && \
|
||||
cd /app/calibre-web && \
|
||||
pip3 install --no-cache-dir -U -r \
|
||||
requirements.txt && \
|
||||
pip3 install --no-cache-dir -U -r \
|
||||
pip3 install --no-cache-dir -U \
|
||||
pip && \
|
||||
pip install --no-cache-dir -U -r \
|
||||
requirements.txt -r \
|
||||
optional-requirements.txt && \
|
||||
echo "***install kepubify" && \
|
||||
if [ -z ${KEPUBIFY_RELEASE+x} ]; then \
|
||||
@ -78,7 +79,8 @@ RUN \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
/var/tmp/* \
|
||||
/root/.cache
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
@ -51,9 +51,10 @@ RUN \
|
||||
/tmp/calibre-web.tar.gz -C \
|
||||
/app/calibre-web --strip-components=1 && \
|
||||
cd /app/calibre-web && \
|
||||
pip3 install --no-cache-dir -U -r \
|
||||
requirements.txt && \
|
||||
pip3 install --no-cache-dir -U -r \
|
||||
pip3 install --no-cache-dir -U \
|
||||
pip && \
|
||||
pip install --no-cache-dir -U -r \
|
||||
requirements.txt -r \
|
||||
optional-requirements.txt && \
|
||||
echo "***install kepubify" && \
|
||||
if [ -z ${KEPUBIFY_RELEASE+x} ]; then \
|
||||
@ -82,7 +83,9 @@ RUN \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
/var/tmp/* \
|
||||
/root/.cache \
|
||||
/root/.cargo
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
Loading…
Reference in New Issue
Block a user