Mounting network volume into serverless Docker container
Hi everyone,
I am trying to deploy a FastAPI app in a Docker container hosted on a serverless RunPod.
My issue is: I need to pass a very large data folder to the Docker container.
I could easily do this on a Pod by using the following Container Start Command:
However, I simply can't get it to work with a serverless deployment.
I know the network volume is mounted at /runpod-volume rather than /workspace for serverless. But even by adjusting my Docker run command, I just can't get it to show up inside my container:
Also: serverless templates don't offer the Volume Mount Path option that is present for Pod templates, so that's a no-go as well.
Has anyone any idea what I am doing wrong?
I am trying to deploy a FastAPI app in a Docker container hosted on a serverless RunPod.
My issue is: I need to pass a very large data folder to the Docker container.
I could easily do this on a Pod by using the following Container Start Command:
However, I simply can't get it to work with a serverless deployment.
I know the network volume is mounted at /runpod-volume rather than /workspace for serverless. But even by adjusting my Docker run command, I just can't get it to show up inside my container:
Also: serverless templates don't offer the Volume Mount Path option that is present for Pod templates, so that's a no-go as well.
Has anyone any idea what I am doing wrong?