Spaces:
Runtime error
Runtime error
parokshsaxena
commited on
Commit
·
b379c13
1
Parent(s):
ccc2094
fix
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -3,11 +3,11 @@ FROM continuumio/anaconda3:main
|
|
3 |
# Set the working directory inside the container
|
4 |
WORKDIR /code
|
5 |
|
6 |
-
# Copy the environment.
|
7 |
-
COPY ./environment.
|
8 |
|
9 |
-
# Create the conda environment using the environment.
|
10 |
-
RUN conda env create -f /code/environment.
|
11 |
|
12 |
# Set up a new user named "user" with user ID 1000
|
13 |
RUN useradd -m -u 1000 user
|
|
|
3 |
# Set the working directory inside the container
|
4 |
WORKDIR /code
|
5 |
|
6 |
+
# Copy the environment.yaml file into the container
|
7 |
+
COPY ./environment.yaml /code/environment.yaml
|
8 |
|
9 |
+
# Create the conda environment using the environment.yaml file
|
10 |
+
RUN conda env create -f /code/environment.yaml
|
11 |
|
12 |
# Set up a new user named "user" with user ID 1000
|
13 |
RUN useradd -m -u 1000 user
|