1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Fix Docker 7z missing

This commit is contained in:
darodi
2023-01-06 17:59:53 +01:00
parent 2c19898952
commit 7f883f98ba

View File

@@ -156,9 +156,11 @@ LABEL org.opencontainers.image.title="Kindle Comic Converter"
ENV PATH="/opt/venv/bin:$PATH"
WORKDIR /opt/kcc
WORKDIR /app
COPY . /opt/kcc
RUN ln -s /app/kindlegen /bin/kindlegen && \
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y && apt-get -yq upgrade && \
apt-get install -y p7zip-full unrar-free && \
ln -s /app/kindlegen /bin/kindlegen && \
cat /opt/kcc/kindlecomicconverter/__init__.py | grep version | awk '{print $3}' | sed "s/'//g" > /IMAGE_VERSION
ENTRYPOINT ["/opt/kcc/kcc-c2e.py"]