Spaces:
Running
Running
Arts-of-coding
commited on
Update mount-blobfuse.sh
Browse files- mount-blobfuse.sh +10 -1
mount-blobfuse.sh
CHANGED
@@ -1,2 +1,11 @@
|
|
1 |
# mount our blobstore
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# mount our blobstore
|
2 |
+
test ${AZURE_MOUNT_POINT}
|
3 |
+
rm -rf ${AZURE_MOUNT_POINT}
|
4 |
+
mkdir ${AZURE_MOUNT_POINT}
|
5 |
+
|
6 |
+
# mount our blobstore
|
7 |
+
blobfuse2 $AZURE_MOUNT_POINT --use-https=true --tmp-path=/tmp/blobfuse/$AZURE_STORAGE_ACCOUNT --container-name=$AZURE_STORAGE_ACCOUNT_CONTAINER -o allow_other --use-attr-cache=true --basic-remount-check=true
|
8 |
+
|
9 |
+
# run the command passed to us
|
10 |
+
exec "uvicorn main:app --host 0.0.0.0 --port 5000"
|
11 |
+
|