File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ RUN mkdir -p /opt/plog/src && curl -sL https://github.com/SergiusTheBest/plog/ar
4646
4747RUN mkdir -p /opt/optix && curl -sL https://github.com/NVIDIA/optix-dev/archive/refs/tags/v${OPTIX_VERSION}.tar.gz | tar -xz --strip-components 1 -C /opt/optix
4848
49+ RUN curl -LsSf https://astral.sh/uv/install.sh | sh
50+
4951SHELL ["/bin/bash" , "-l" , "-c" ]
5052
5153# Set up non-interactive shells by sourcing all of the scripts in /etc/profile.d/
@@ -67,16 +69,17 @@ ENV OPTICKS_PREFIX=/opt/eic-opticks
6769ENV OPTICKS_HOME=/src/eic-opticks
6870ENV OPTICKS_BUILD=/opt/eic-opticks/build
6971ENV LD_LIBRARY_PATH=${OPTICKS_PREFIX}/lib:${LD_LIBRARY_PATH}
70- ENV PATH=${OPTICKS_PREFIX}/bin:${PATH}
72+ ENV PATH=${OPTICKS_PREFIX}/bin:/root/.local/bin:$OPTICKS_HOME/.venv/bin: ${PATH}
7173ENV NVIDIA_DRIVER_CAPABILITIES=graphics,compute,utility
7274ENV CSGOptiX__optixpath=${OPTICKS_PREFIX}/ptx/CSGOptiX_generated_CSGOptiX7.cu.ptx
75+ ENV VIRTUAL_ENV=$OPTICKS_HOME/.venv
7376
7477WORKDIR $OPTICKS_HOME
7578
7679# Install Python dependencies
7780COPY pyproject.toml $OPTICKS_HOME/
7881COPY optiphy $OPTICKS_HOME/optiphy
79- RUN python -m pip install --upgrade pip && pip install -e $OPTICKS_HOME
82+ RUN uv sync
8083
8184
8285FROM base AS release
You can’t perform that action at this time.
0 commit comments