Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
FROM yaziciz/deepsurg_vllm_v1
|
| 2 |
|
|
|
|
|
|
|
| 3 |
RUN useradd -m -u 1000 user
|
| 4 |
|
| 5 |
# Switch to the "user" user
|
|
@@ -15,9 +17,6 @@ WORKDIR $HOME/app
|
|
| 15 |
# Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
|
| 16 |
RUN pip install --no-cache-dir --upgrade pip
|
| 17 |
|
| 18 |
-
# Install system dependency required for OpenCV.
|
| 19 |
-
RUN apt-get update && apt-get install -y libgl1-mesa-glx
|
| 20 |
-
|
| 21 |
# Create the conda environment using the absolute path to the environment file.
|
| 22 |
RUN conda env create -f environment.yml
|
| 23 |
|
|
|
|
| 1 |
FROM yaziciz/deepsurg_vllm_v1
|
| 2 |
|
| 3 |
+
RUN apt-get update && apt-get install -y libgl1-mesa-glx
|
| 4 |
+
|
| 5 |
RUN useradd -m -u 1000 user
|
| 6 |
|
| 7 |
# Switch to the "user" user
|
|
|
|
| 17 |
# Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
|
| 18 |
RUN pip install --no-cache-dir --upgrade pip
|
| 19 |
|
|
|
|
|
|
|
|
|
|
| 20 |
# Create the conda environment using the absolute path to the environment file.
|
| 21 |
RUN conda env create -f environment.yml
|
| 22 |
|