Arts-of-coding commited on
Commit
a31dcb4
1 Parent(s): f888141

Update mount-blobfuse.sh

Browse files
Files changed (1) hide show
  1. mount-blobfuse.sh +7 -3
mount-blobfuse.sh CHANGED
@@ -1,5 +1,9 @@
1
  # mount our blobstore
2
- test $AZURE_MOUNT_POINT
3
- #blobfuse $AZURE_MOUNT_POINT --use-https=true --tmp-path=/tmp/blobfuse/$AZURE_STORAGE_ACCOUNT --container-name=$AZURE_STORAGE_ACCOUNT_CONTAINER -o allow_other
 
 
 
 
4
  # run the command passed to us
5
- #exec "uvicorn main:app --host 0.0.0.0 --port 5000"
 
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"