Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +9 -4
Dockerfile
CHANGED
@@ -56,13 +56,18 @@ RUN pip install --upgrade pip
|
|
56 |
RUN pip install -r requirements_HF.txt
|
57 |
RUN pip install gradio
|
58 |
|
|
|
|
|
|
|
59 |
USER root
|
60 |
-
|
61 |
-
RUN
|
62 |
-
|
63 |
-
RUN python basicsr/setup.py develop
|
64 |
|
65 |
USER user
|
|
|
|
|
|
|
66 |
# Install additional Python packages
|
67 |
RUN pip install ffmpeg-python
|
68 |
RUN pip install dlib
|
|
|
56 |
RUN pip install -r requirements_HF.txt
|
57 |
RUN pip install gradio
|
58 |
|
59 |
+
# Install cupy before basicsr setup
|
60 |
+
RUN pip install cupy-cuda11x==12.3.0
|
61 |
+
|
62 |
USER root
|
63 |
+
# Configure git to trust the directory
|
64 |
+
RUN git config --global --add safe.directory /home/user/app
|
65 |
+
RUN chown -R user:user /home/user/app
|
|
|
66 |
|
67 |
USER user
|
68 |
+
# Install basicsr
|
69 |
+
RUN cd basicsr && python setup.py develop
|
70 |
+
|
71 |
# Install additional Python packages
|
72 |
RUN pip install ffmpeg-python
|
73 |
RUN pip install dlib
|