Skip to content

Commit

Permalink
Merge pull request #68 from OCR-D/update-docker-2.67
Browse files Browse the repository at this point in the history
Update Dockerfile to core 2.67.2 and adapt build dir
  • Loading branch information
bertsky authored Jul 29, 2024
2 parents de824e9 + 7d84a11 commit 064b7a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ocrd/core:v2.62.0 AS base
FROM docker.io/ocrd/core:v2.67.2 AS base
ARG VCS_REF
ARG BUILD_DATE
LABEL \
Expand All @@ -7,14 +7,14 @@ LABEL \
org.label-schema.vcs-url="https://github.com/OCR-D/ocrd_segment" \
org.label-schema.build-date=$BUILD_DATE

WORKDIR /build
WORKDIR /build/ocrd_segment
COPY setup.py .
COPY ocrd_segment/ocrd-tool.json .
COPY ocrd_segment ./ocrd_segment
COPY requirements.txt .
COPY README.md .
RUN pip install .
RUN rm -rf /build
RUN rm -rf /build/ocrd_segment

WORKDIR /data
VOLUME ["/data"]

0 comments on commit 064b7a8

Please sign in to comment.