Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
|
|
|
|
|
| 1 |
WORKDIR /code
|
| 2 |
-
COPY ./
|
| 3 |
|
| 4 |
# Create the environment using the environment.yml file
|
| 5 |
-
RUN conda env create -f /code/
|
| 6 |
|
| 7 |
# Set up a new user named "user" with user ID 1000
|
| 8 |
RUN useradd -m -u 1000 user
|
|
|
|
| 1 |
+
FROM nvidia/cuda
|
| 2 |
+
|
| 3 |
WORKDIR /code
|
| 4 |
+
COPY ./env.yml /code/env.yml
|
| 5 |
|
| 6 |
# Create the environment using the environment.yml file
|
| 7 |
+
RUN conda env create -f /code/env.yml
|
| 8 |
|
| 9 |
# Set up a new user named "user" with user ID 1000
|
| 10 |
RUN useradd -m -u 1000 user
|