Question

Can I deploy to the App Platform without a Dockerfile?

I have no dockerfile in my repo, and when I deploy to the AP I get the error: ! Invalid dockerfile_path, no such file exists in the git repository. I don’t want to deploy a Docker container, is that possible at all? How would I go about it?

I’m trying to deploy a FastAPI project, ideally with a Procfile or some other Python command


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello!

App Platform supports deploying an app without a Dockerfile.

See here for the python dev guide and App Spec reference:

https://docs.digitalocean.com/products/app-platform/languages-frameworks/python/

https://docs.digitalocean.com/products/app-platform/references/app-specification-reference/

Did you specify a dockerfile_path in you App Spec? Or did you deploy via the UI?