Spaces:
Sleeping
Sleeping
circulartext
commited on
Commit
•
22276f3
1
Parent(s):
91a68c0
Update entrypoint.sh
Browse files- entrypoint.sh +4 -5
entrypoint.sh
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
-
#!/bin/
|
2 |
-
set -e
|
3 |
|
4 |
-
#
|
5 |
-
|
6 |
|
7 |
-
#
|
8 |
exec "$@"
|
|
|
1 |
+
#!/bin/bash
|
|
|
2 |
|
3 |
+
# Activate the virtual environment
|
4 |
+
source /path/to/your/virtualenv/bin/activate
|
5 |
|
6 |
+
# Run the command passed as arguments to entrypoint.sh
|
7 |
exec "$@"
|