Build Space
After creating a Space, you'll have an empty repository to develop your code. A dockerfile or deploy.yaml is required.
A
dockerfileis a text document that contains all the commands a user could call on the command line to assemble an image.A
deploy.yamlis a configuration file, written using Lagrange Definition Language (LDL), which is used to specify deployment details for a Space on the Lagrange.
You can create/upload each file through the Web UI or via Lagrange-cli.
dockerfile or deploy.yaml
dockerfile or deploy.yamlIn determining the choice of deployment file, consider the following:
Use a
dockerfileif you don't have a pre-built image.Use
deploy.yamlif you have an existing image to deploy.For many files, Lagrange-cli is recommended to choose to upload them.
For large files( >50MB), upload to Multichain.Storage first, and add its IPFS link to your
dockerfileordeploy.yaml.
Last updated