ARG
, allowing you to parameterize values in your Dockerfile instructions. Unlike environment variables, these variables do not persist into the final container, so they won’t affect your handler function code.
You can specify build arguments either in your Dockerfile, or using the RunPod UI.
ARG
, refer to the official Docker documention.ARG
keyword, then reference them using $
syntax.
For example:
ARG
in your Dockerfile before you can reference it, even if you’ve defined it in the RunPod UI:
Status | Description |
---|---|
Pending | Runpod is scheduling the build. |
Building | Runpod is building your container. |
Uploading | Runpod is uploading your container to the registry. |
Testing | Runpod is testing your Serverless worker. |
Completed | Runpod completed the build and upload. |
Failed | Something went wrong (check build logs). |
main
branch.dev
branch..github/workflows/test-and-deploy.yml
:
.github/tests.json
:
bitsandbytes
) are not supported.