DEV Community

loading...

Discussion on: Help Thread — DigitalOcean App Platform Hackathon on DEV

Collapse
jonfriesen profile image
Jon Friesen

👋 Martin,

We have some basic documentation here, we also have a sample project.

If we cannot detect your projects type using buildpacks, we will fallback to a Dockerfile if it's located in the root of your project. In the event that you'd prefer to use a Dockerfile instead of BuildPacks you can push configure this using am app.yaml, here is an example of one:

name: sample-dockerfile
services:
- dockerfile_path: Dockerfile
  github:
    branch: main
    deploy_on_push: true
    repo: digitalocean/sample-dockerfile
  name: sample-dockerfile
Enter fullscreen mode Exit fullscreen mode

Here is some documentation that covers creating apps with our command line tool doctl:

Reference for the DigitalOcean Command-Line Interface (doctl) with App Platform

Hope this helps! Happy Hacking 📣