Hi everyone, I have a Node app which is defined via Dockerfile, due to a number of system-level dependencies. It builds great and works fine on my local system, but when it deploys to the App Platform, the build succeeds but deployment fails with error code: DeployContainerExitNonZero
I cannot for the life of me figure out why this works locally (OSX with Docker 19.03.13) and failing when I deploy to DO App Platform, nor can I find any meaningful logs. Is there somewhere I should be looking, or something I’m missing?
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!
Heya,
Just came across this answer and decided to write some general guidelines for anyone who comes across this in the future despite the old question.
Deploying on the App Platform isn’t exactly the same as deploying on local. Therefore, you might see different behavior here. Your Docker container might be trying to do something that works locally but can’t run in the App Platform environment, such as using a deprecated command or restricted operation.
The best way to try and debug this would be to:
Unfortunately, currently, the App Platform does not provide detailed logs for such build errors but this is something DigitalOcean is actively working on.
Please refer to App Platform Documentation
Hope that this helps!
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.