By Rob Arkins
What do I need to do to deploy a docker container running on the App Platform?
I get the following error:
Error: error resolving dockerfile path: please provide a valid path to a Dockerfile within the build context with --dockerfile
Do I need to enter any build commands?
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You can deploy a docker container on the App Platform by placing a Dockerfile (named Dockerfile) in the root of the Github repository for your app.
If you want to store your Dockerfile in a different location in your repository, you can use the dockerfile_path key in your app spec.
You can see a <a href=“https://www.digitalocean.com/docs/app-platform/languages-frameworks/docker/”>sample</a> setup for deploying a Dockerfile to App Platform. Even with a repo setup like this, with a Dockerfile at the root, you still need to create an actual App on the App Platform pointing to his repo-- the easiest way is via the Apps web UI.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.