Skip to content

Commit

Permalink
'comfy3d' deleting using 'find'
Browse files Browse the repository at this point in the history
  • Loading branch information
YanWenKun committed Jul 26, 2024
1 parent 406fc14 commit f309fb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions comfy3d-pt22/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
################################################################################

RUN du -ah /root \
&& rm -rf /root/* \
&& rm -rfv /root/.* 2>/dev/null
&& find /root/ -mindepth 1 -delete

COPY runner-scripts/. /runner-scripts/

Expand Down
3 changes: 1 addition & 2 deletions comfy3d-pt23/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ https://raw.githubusercontent.com/MrForExample/Comfy3D_Pre_Builds/b27af1a28d9f19
################################################################################

RUN du -ah /root \
&& rm -rf /root/* \
&& rm -rfv /root/.* 2>/dev/null
&& find /root/ -mindepth 1 -delete

COPY runner-scripts/. /runner-scripts/

Expand Down

0 comments on commit f309fb9

Please sign in to comment.