Skip to content

Commit

Permalink
Reorder docker build
Browse files Browse the repository at this point in the history
We need to do "girder build" after copying the girder config.  The
annotation plugin has to be added after "girder build" because it
accesses the database on first import (we should change that).
  • Loading branch information
manthey committed Jan 24, 2024
1 parent 09568d2 commit 5c4ab3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions devops/girder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ WORKDIR /src/large_image
RUN pip install -e .[all] -r requirements-test.txt --find-links https://girder.github.io/large_image_wheels
RUN pip install girder[mount] girder girder-user-quota
# RUN pip install .[all] ./girder[tasks] girder[mount] --find-links https://girder.github.io/large_image_wheels

COPY ./provision.py /src/provision.py
COPY ./girder.cfg /etc/girder.cfg
RUN girder build

COPY plugins/AnnotationPlugin /src/AnnotationPlugin
RUN pip install -e /src/AnnotationPlugin

COPY ./provision.py /src/provision.py
COPY ./girder.cfg /etc/girder.cfg

ENTRYPOINT ["bash"]

0 comments on commit 5c4ab3b

Please sign in to comment.