Spaces:
Runtime error
Runtime error
update docker
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -10,7 +10,10 @@ COPY ./environment_docker.yml /code/environment_docker.yml
|
|
10 |
|
11 |
# Create the environment using the environment.yml file
|
12 |
RUN conda env create -f /code/environment_docker.yml
|
13 |
-
|
|
|
|
|
|
|
14 |
COPY ./install_deps.sh /code/install_deps.sh
|
15 |
|
16 |
# Make the install_deps.sh script executable
|
@@ -49,3 +52,4 @@ COPY --chown=user . $HOME/app
|
|
49 |
RUN chmod +x $HOME/app/run.sh
|
50 |
|
51 |
CMD ["./run.sh"]
|
|
|
|
10 |
|
11 |
# Create the environment using the environment.yml file
|
12 |
RUN conda env create -f /code/environment_docker.yml
|
13 |
+
|
14 |
+
# Make RUN commands use the new environment
|
15 |
+
SHELL ["conda", "run", "-n", "masaenv", "/bin/bash", "-c"]
|
16 |
+
|
17 |
COPY ./install_deps.sh /code/install_deps.sh
|
18 |
|
19 |
# Make the install_deps.sh script executable
|
|
|
52 |
RUN chmod +x $HOME/app/run.sh
|
53 |
|
54 |
CMD ["./run.sh"]
|
55 |
+
|