You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
554 B
Docker
23 lines
554 B
Docker
ARG DOCKER_BASE_IMAGE
|
|
FROM $DOCKER_BASE_IMAGE
|
|
ARG VCS_REF
|
|
ARG BUILD_DATE
|
|
LABEL \
|
|
maintainer="https://github.com/qurator-spk/dinglehopper/issues" \
|
|
org.label-schema.vcs-ref=$VCS_REF \
|
|
org.label-schema.vcs-url="https://github.com/qurator-spk/dinglehopper" \
|
|
org.label-schema.build-date=$BUILD_DATE
|
|
|
|
WORKDIR /build/dinglehopper
|
|
COPY pyproject.toml .
|
|
COPY src/dinglehopper/ocrd-tool.json .
|
|
COPY src ./src
|
|
COPY requirements.txt .
|
|
COPY README.md .
|
|
COPY Makefile .
|
|
RUN make install
|
|
RUN rm -rf /build/dinglehopper
|
|
|
|
WORKDIR /data
|
|
VOLUME ["/data"]
|