-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #137 from qurator-spk/dockerfile
Add Dockerfile and make docker target
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
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/eynollah" \ | ||
org.label-schema.build-date=$BUILD_DATE | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV PYTHONIOENCODING=utf8 | ||
ENV XDG_DATA_HOME=/usr/local/share | ||
|
||
WORKDIR /build-eynollah | ||
COPY src/ ./src | ||
COPY pyproject.toml . | ||
COPY requirements.txt . | ||
COPY README.md . | ||
COPY Makefile . | ||
RUN apt-get install -y --no-install-recommends g++ | ||
RUN make install | ||
|
||
WORKDIR /data | ||
VOLUME /data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters