Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Mk dockerfile copy also submodules
  • Loading branch information
snowzurfer committed Dec 10, 2024
commit 418d2f423806959ca33c29dbaabe75962368ea7c
10 changes: 3 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,15 @@ RUN apt-get update && \
WORKDIR /app

# Add the application files
ADD trellis /app/trellis
ADD setup.sh /app/setup.sh
ADD headless_app.py /app/headless_app.py
ADD example.py /app/example.py
ADD extensions /app/extensions
ADD assets /app/assets
COPY . /app/

# Initialize and update git submodules
RUN cd /app && \
git init && \
git submodule init && \
git submodule update --init --recursive && \
git submodule update --recursive
git submodule update --recursive && \
rm -rf .git */.git **/.git # Remove all .git directories

# Setup conda and PyTorch
RUN conda config --set always_yes true && conda init
Expand Down