Skip to content

Commit

Permalink
Merge pull request #1225 from bertsky/docker-editable
Browse files Browse the repository at this point in the history
docker: install editable
  • Loading branch information
kba committed Jun 4, 2024
2 parents 6ababf1 + cc6ea57 commit 8ad04f2
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
Expand Up @@ -8,7 +8,7 @@ ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV PIP=pip

WORKDIR /build-ocrd
WORKDIR /build/core

COPY src ./src
COPY pyproject.toml .
Expand Down Expand Up @@ -36,7 +36,7 @@ RUN apt-get update && apt-get -y install software-properties-common \
&& make deps-ubuntu
RUN python3 -m venv /usr/local \
&& hash -r \
&& make install \
&& make install-dev \
&& eval $FIXUP

WORKDIR /data
Expand All @@ -46,7 +46,7 @@ CMD ["/usr/local/bin/ocrd", "--help"]
FROM ocrd_core_base as ocrd_core_test
# Optionally skip make assets with this arg
ARG SKIP_ASSETS
WORKDIR /build-ocrd
WORKDIR /build/core
COPY Makefile .
RUN if test -z "$SKIP_ASSETS" || test $SKIP_ASSETS -eq 0 ; then make assets ; fi
COPY tests ./tests
Expand Down

0 comments on commit 8ad04f2

Please sign in to comment.