Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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", "
|
|
|
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"]
|