Spaces:
Paused
Paused
Commit
·
e111da6
1
Parent(s):
23dfebd
update
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
|
@@ -1,5 +1,8 @@
|
|
| 1 |
FROM continuumio/anaconda3:main
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
WORKDIR /code
|
| 4 |
COPY ./environment.yml /code/environment.yml
|
| 5 |
|
|
@@ -26,10 +29,6 @@ RUN conda run -n gradio pip install --upgrade pip
|
|
| 26 |
RUN useradd -m -u 1000 user
|
| 27 |
# Switch to the "user" user
|
| 28 |
USER user
|
| 29 |
-
|
| 30 |
-
# make sure cv2 can be loaded
|
| 31 |
-
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
| 32 |
-
|
| 33 |
RUN conda create -n gradio-user python=3.11
|
| 34 |
RUN conda run -n gradio-user pip install --upgrade pip
|
| 35 |
# RUN conda install -n gradio-user pytorch3d=0.7.7 -c pytorch3d -c conda-forge
|
|
|
|
| 1 |
FROM continuumio/anaconda3:main
|
| 2 |
|
| 3 |
+
# make sure cv2 can be loaded
|
| 4 |
+
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
| 5 |
+
|
| 6 |
WORKDIR /code
|
| 7 |
COPY ./environment.yml /code/environment.yml
|
| 8 |
|
|
|
|
| 29 |
RUN useradd -m -u 1000 user
|
| 30 |
# Switch to the "user" user
|
| 31 |
USER user
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
RUN conda create -n gradio-user python=3.11
|
| 33 |
RUN conda run -n gradio-user pip install --upgrade pip
|
| 34 |
# RUN conda install -n gradio-user pytorch3d=0.7.7 -c pytorch3d -c conda-forge
|