Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -66,10 +66,10 @@ USER root
|
|
66 |
RUN git config --global --add safe.directory /home/user/app
|
67 |
RUN chown -R user:user /home/user/app
|
68 |
|
69 |
-
|
70 |
|
71 |
# Install basicsr with the --user flag
|
72 |
-
RUN python basicsr/setup.py develop
|
73 |
|
74 |
# Install additional Python packages
|
75 |
RUN pip install ffmpeg-python
|
@@ -78,6 +78,6 @@ RUN pip install dlib
|
|
78 |
# Set the environment variable to specify the GPU device
|
79 |
ENV CUDA_DEVICE_ORDER=PCI_BUS_ID
|
80 |
ENV CUDA_VISIBLE_DEVICES=0
|
81 |
-
|
82 |
# Command to run your application
|
83 |
CMD ["python", "app.py"]
|
|
|
66 |
RUN git config --global --add safe.directory /home/user/app
|
67 |
RUN chown -R user:user /home/user/app
|
68 |
|
69 |
+
|
70 |
|
71 |
# Install basicsr with the --user flag
|
72 |
+
RUN python basicsr/setup.py develop
|
73 |
|
74 |
# Install additional Python packages
|
75 |
RUN pip install ffmpeg-python
|
|
|
78 |
# Set the environment variable to specify the GPU device
|
79 |
ENV CUDA_DEVICE_ORDER=PCI_BUS_ID
|
80 |
ENV CUDA_VISIBLE_DEVICES=0
|
81 |
+
USER user
|
82 |
# Command to run your application
|
83 |
CMD ["python", "app.py"]
|