Spaces:
Sleeping
Sleeping
Upload mount-blobfuse.sh
Browse files- mount-blobfuse.sh +1 -8
mount-blobfuse.sh
CHANGED
|
@@ -1,9 +1,2 @@
|
|
| 1 |
# mount our blobstore
|
| 2 |
-
|
| 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"
|
|
|
|
| 1 |
# mount our blobstore
|
| 2 |
+
blobfuse ${AZURE_MOUNT_POINT} --use-https=true --tmp-path=/tmp/blobfuse/${AZURE_STORAGE_ACCOUNT} --container-name=${AZURE_STORAGE_ACCOUNT_CONTAINER} -o allow_other
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|