diff --git a/Dockerfile b/Dockerfile index 47bda9fd..0203a385 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,7 @@ COPY --from=builder /usr/local /usr/local RUN bash configure.sh installruntimedepsonly \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ - && bash run.sh --help + && bash run.sh --help \ && bash -c "eval $(python3 /code/opendm/context.py) && python3 -c 'from opensfm import io, pymap'" # Entry point ENTRYPOINT ["python3", "/code/run.py"] diff --git a/gpu.Dockerfile b/gpu.Dockerfile index efc2d930..33c6f270 100644 --- a/gpu.Dockerfile +++ b/gpu.Dockerfile @@ -43,7 +43,7 @@ COPY --from=builder /usr/local /usr/local RUN bash configure.sh installruntimedepsonly \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ - && bash run.sh --help + && bash run.sh --help \ && bash -c "eval $(python3 /code/opendm/context.py) && python3 -c 'from opensfm import io, pymap'" # Entry point ENTRYPOINT ["python3", "/code/run.py"]