Skip to content

Commit

Permalink
add env var to dockerfiles to skip pip install (#134)
Browse files Browse the repository at this point in the history
Co-authored-by: John Lambert <[email protected]>
  • Loading branch information
mshannon-sil and johnml1135 authored Oct 24, 2024
1 parent 3673392 commit 1fbaef0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ RUN --mount=type=cache,target=/root/.cache \

COPY . .
RUN pip install --no-deps . && rm -r /root/*
ENV CLEARML_AGENT_SKIP_PYTHON_ENV_INSTALL=1

CMD ["bash"]
1 change: 1 addition & 0 deletions dockerfile.cpu_only
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ RUN --mount=type=cache,target=/root/.cache \

COPY . .
RUN pip install --no-deps . && rm -r /root/*
ENV CLEARML_AGENT_SKIP_PYTHON_ENV_INSTALL=1

CMD ["bash"]

0 comments on commit 1fbaef0

Please sign in to comment.