mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 09:46:25 +00:00
* fix linux arm64 * Update Dockerfile-base * Update Dockerfile * Update Dockerfile-base * ENV PATH="/opt/venv/bin:$PATH" * fix docker armv7 * Update Dockerfile-base * Update Dockerfile-base
20 lines
974 B
Docker
20 lines
974 B
Docker
# Select final stage based on TARGETARCH ARG
|
|
FROM ghcr.io/ciromattia/kcc:docker-base-20240928
|
|
LABEL com.kcc.name="Kindle Comic Converter"
|
|
LABEL com.kcc.author="Ciro Mattia Gonano, Paweł Jastrzębski and Darodi"
|
|
LABEL org.opencontainers.image.description='Kindle Comic Converter'
|
|
LABEL org.opencontainers.image.documentation='https://github.com/ciromattia/kcc'
|
|
LABEL org.opencontainers.image.source='https://github.com/ciromattia/kcc'
|
|
LABEL org.opencontainers.image.authors='darodi'
|
|
LABEL org.opencontainers.image.url='https://github.com/ciromattia/kcc'
|
|
LABEL org.opencontainers.image.documentation='https://github.com/ciromattia/kcc'
|
|
LABEL org.opencontainers.image.vendor='ciromattia'
|
|
LABEL org.opencontainers.image.licenses='ISC'
|
|
LABEL org.opencontainers.image.title="Kindle Comic Converter"
|
|
|
|
COPY . /opt/kcc
|
|
RUN cat /opt/kcc/kindlecomicconverter/__init__.py | grep version | awk '{print $3}' | sed "s/'//g" > /IMAGE_VERSION
|
|
|
|
ENTRYPOINT ["/opt/kcc/kcc-c2e.py"]
|
|
CMD ["-h"]
|