Spaces:
Runtime error
Runtime error
Use CMD instead of entrypoint
Browse files- Dockerfile +1 -2
- entrypoint.sh +0 -11
Dockerfile
CHANGED
@@ -9,5 +9,4 @@ WORKDIR /app
|
|
9 |
EXPOSE 8501
|
10 |
|
11 |
# Run streamlit app under conda environment
|
12 |
-
|
13 |
-
ENTRYPOINT ["./entrypoint.sh"]
|
|
|
9 |
EXPOSE 8501
|
10 |
|
11 |
# Run streamlit app under conda environment
|
12 |
+
CMD ["sh", "-c", "micromamba run -n ${ENV_NAME} streamlit run app.py"]
|
|
entrypoint.sh
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
#!/bin/bash --login
|
2 |
-
|
3 |
-
# Initialize the shell for micromamba
|
4 |
-
eval "$(micromamba shell hook --shell bash)"
|
5 |
-
|
6 |
-
micromamba activate diffdock-pocket
|
7 |
-
|
8 |
-
# Basic script to indicate the device
|
9 |
-
# python utils/print_device.py
|
10 |
-
|
11 |
-
exec "$@"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|