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