Skip to content

Commit 064b7a8

Browse files
authored
Merge pull request #68 from OCR-D/update-docker-2.67
Update Dockerfile to core 2.67.2 and adapt build dir
2 parents de824e9 + 7d84a11 commit 064b7a8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ocrd/core:v2.62.0 AS base
1+
FROM docker.io/ocrd/core:v2.67.2 AS base
22
ARG VCS_REF
33
ARG BUILD_DATE
44
LABEL \
@@ -7,14 +7,14 @@ LABEL \
77
org.label-schema.vcs-url="https://github.com/OCR-D/ocrd_segment" \
88
org.label-schema.build-date=$BUILD_DATE
99

10-
WORKDIR /build
10+
WORKDIR /build/ocrd_segment
1111
COPY setup.py .
1212
COPY ocrd_segment/ocrd-tool.json .
1313
COPY ocrd_segment ./ocrd_segment
1414
COPY requirements.txt .
1515
COPY README.md .
1616
RUN pip install .
17-
RUN rm -rf /build
17+
RUN rm -rf /build/ocrd_segment
1818

1919
WORKDIR /data
2020
VOLUME ["/data"]

0 commit comments

Comments
 (0)