mirror of
https://github.com/qurator-spk/sbb_binarization.git
synced 2025-06-09 04:10:00 +02:00
add GHA CD via Dockerhub
This commit is contained in:
parent
978f425bd1
commit
23e282ce8c
4 changed files with 97 additions and 8 deletions
22
Dockerfile
Normal file
22
Dockerfile
Normal file
|
@ -0,0 +1,22 @@
|
|||
ARG DOCKER_BASE_IMAGE
|
||||
FROM $DOCKER_BASE_IMAGE
|
||||
ARG VCS_REF
|
||||
ARG BUILD_DATE
|
||||
LABEL \
|
||||
maintainer="https://ocr-d.de/kontakt" \
|
||||
org.label-schema.vcs-ref=$VCS_REF \
|
||||
org.label-schema.vcs-url="https://github.com/qurator-spk/sbb_binarization" \
|
||||
org.label-schema.build-date=$BUILD_DATE
|
||||
|
||||
WORKDIR /build/sbb_binarization
|
||||
COPY setup.py .
|
||||
COPY ocrd-tool.json .
|
||||
COPY sbb_binarize ./sbb_binarize
|
||||
COPY requirements.txt .
|
||||
COPY README.md .
|
||||
COPY Makefile .
|
||||
RUN make install
|
||||
RUN rm -rf /build/sbb_binarization
|
||||
|
||||
WORKDIR /data
|
||||
VOLUME ["/data"]
|
Loading…
Add table
Add a link
Reference in a new issue