Skip to content

Commit

Permalink
Move PYTHONENV to clone step
Browse files Browse the repository at this point in the history
  • Loading branch information
thvasilo committed Dec 2, 2024
1 parent 760d452 commit 32e26b2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/local/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ ARG TRANSFORMERS_VERSION=4.28.1
RUN cd /root; git clone --branch v${DGL_VERSION} --single-branch https://github.com/dmlc/dgl.git
ENV DGL_HOME=/root/dgl
ENV DGLBACKEND=pytorch
ENV PYTHONPATH="/root/dgl/tools/:${PYTHONPATH}"

FROM base as base-cpu

Expand Down Expand Up @@ -139,9 +140,6 @@ RUN mkdir -p ${SSHDIR} \

EXPOSE ${SSH_PORT}

ENV PYTHONPATH="/root/dgl/tools/:${PYTHONPATH}"


# Copy GraphStorm source and add to PYTHONPATH
RUN mkdir -p /graphstorm
COPY code/python/graphstorm /graphstorm/python/graphstorm
Expand Down

0 comments on commit 32e26b2

Please sign in to comment.