fffiloni commited on
Commit
712b042
1 Parent(s): e52eded

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -28,6 +28,8 @@ RUN git clone https://github.com/fffiloni/DemoFusion.git $HOME/app
28
  # Install dependencies
29
  RUN pip install --no-cache-dir accelerate gradio transformers==4.35.2 diffusers==0.21.4
30
 
 
 
31
  RUN find $HOME/app
32
 
33
  # Set the environment variable to specify the GPU device
@@ -35,4 +37,4 @@ ENV CUDA_DEVICE_ORDER=PCI_BUS_ID
35
  ENV CUDA_VISIBLE_DEVICES=0
36
 
37
  # Run your app.py script
38
- CMD ["python", "gradio_demo.py"]
 
28
  # Install dependencies
29
  RUN pip install --no-cache-dir accelerate gradio transformers==4.35.2 diffusers==0.21.4
30
 
31
+ COPY app.py .
32
+
33
  RUN find $HOME/app
34
 
35
  # Set the environment variable to specify the GPU device
 
37
  ENV CUDA_VISIBLE_DEVICES=0
38
 
39
  # Run your app.py script
40
+ CMD ["python", "app.py"]