oceansweep commited on
Commit
ed8b453
1 Parent(s): 326c65d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -7
Dockerfile CHANGED
@@ -40,7 +40,7 @@ RUN git clone -b ${BRANCH} ${REPO_URL} .
40
 
41
  # Create and activate a virtual environment
42
  RUN python3 -m venv venv
43
- ENV PATH="/home/user/app/venv/bin:$PATH"
44
 
45
  # Install CUDA libraries
46
  RUN pip install --no-cache-dir nvidia-cublas-cu12 nvidia-cudnn-cu12
@@ -62,12 +62,6 @@ RUN if [ "$GPU_SUPPORT" = "cpu" ]; then \
62
  sed -i 's/cuda/cpu/' ./Config_Files/config.txt; \
63
  fi
64
 
65
- # Download a checkpoint (replace <SOME_ASSET_URL> and <SOME_ASSET_NAME> with actual values)
66
- ADD --chown=user https://github.com/rmusser01/tldw tldw
67
-
68
- # Create a volume for persistent storage
69
- VOLUME /home/user/app/tldw_volume
70
-
71
  # Expose port 7860 to the outside world
72
  EXPOSE 7860
73
 
 
40
 
41
  # Create and activate a virtual environment
42
  RUN python3 -m venv venv
43
+ ENV PATH="$HOME/app/venv/bin:$PATH"
44
 
45
  # Install CUDA libraries
46
  RUN pip install --no-cache-dir nvidia-cublas-cu12 nvidia-cudnn-cu12
 
62
  sed -i 's/cuda/cpu/' ./Config_Files/config.txt; \
63
  fi
64
 
 
 
 
 
 
 
65
  # Expose port 7860 to the outside world
66
  EXPOSE 7860
67