Skip to content

Commit

Permalink
Dockerfile.cuda*: adapt to #1225 cc6ea57
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky authored Jun 9, 2024
1 parent f6f2a6e commit b97eb8b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions Dockerfile.cuda
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ ENV CONDA_EXE=$MAMBA_EXE
ENV CONDA_PREFIX=$MAMBA_ROOT_PREFIX
ENV CONDA_SHLVL='1'

WORKDIR /build
WORKDIR /build/core

COPY Makefile .

RUN make deps-cuda

WORKDIR /data

RUN rm -fr /build

CMD ["/usr/local/bin/ocrd", "--help"]

4 changes: 1 addition & 3 deletions Dockerfile.cuda-tf1
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
ARG BASE_IMAGE
FROM $BASE_IMAGE AS ocrd_core_base

WORKDIR /build
WORKDIR /build/core

COPY Makefile .

RUN make deps-tf1

WORKDIR /data

RUN rm -fr /build

CMD ["/usr/local/bin/ocrd", "--help"]

4 changes: 1 addition & 3 deletions Dockerfile.cuda-tf2
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
ARG BASE_IMAGE
FROM $BASE_IMAGE AS ocrd_core_base

WORKDIR /build
WORKDIR /build/core

COPY Makefile .

RUN make deps-tf2

WORKDIR /data

RUN rm -fr /build

CMD ["/usr/local/bin/ocrd", "--help"]

0 comments on commit b97eb8b

Please sign in to comment.