Deploy from Source
This page describes how to deploy to CloudRun services from source code.
Deployment Requirements:
- The source code must contain a Dockerfile file.
Refer to the following for writing Dockerfiles for various languages and frameworks:
Deployment
If you need to deploy from source, do the following:
Go to CloudBase deployment via local code
Go to the configuration page and fill in the following settings:
- Code package type: Select folder
- Code package: Select the source code directory to upload
- Port Configuration Service Actual Port
- Dockerfile directory: Fill in the actual directory where the Dockerfile is located. Leave blank if it's in the root directory.
- Fill in the actual Dockerfile name
After completing the configuration, click the Deploy button and wait for the deployment to complete.
page and use the default domain to complete testing and verification.