Skip to main content
Yes. You can provide your own Dockerfile and have W&B Launch build the image for your run. This lets you control the build environment while still using Launch to queue and run jobs. This approach works well for projects with stable requirements but changing codebases.
Format your Dockerfile to use mounts. For details, see the Docker mounts documentation.
After you configure the Dockerfile, specify it to W&B in one of the following ways:
  • Use Dockerfile.wandb
  • Use W&B CLI
  • Use W&B App
Include a Dockerfile.wandb file in the same directory as the W&B run’s entrypoint. W&B uses this file instead of the built-in Dockerfile.