Spaces:
Sleeping
Sleeping
| # mount our blobstore | |
| test ${AZURE_MOUNT_POINT} | |
| #rm -rf ${AZURE_MOUNT_POINT} | |
| #mkdir $AZURE_MOUNT_POINT | |
| # mount our blobstore | |
| 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 | |
| # run the command passed to us | |
| exec "uvicorn main:app --host 0.0.0.0 --port 5000" | |