Skip to content

Commit

Permalink
add env var to dockerfiles to skip pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
mshannon-sil committed Oct 21, 2024
1 parent ca7fba2 commit ef02b81
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 ef02b81

Please sign in to comment.