When defining a component, you may specify the
dockerfile_path to instruct the build system to use your Dockerfile during the build process for your app.
dockerfile_path is not provided, the build system will attempt to use Cloud Native Buildpacks to build your application.
name: sample-dockerfile services: - name: web git: repo_clone_url: https://github.com/digitalocean/sample-dockerfile.git branch: main dockerfile_path: Dockerfile
/var/runas a special path and avoids extracting it from base Docker images. This may cause errors with some builds. To resolve, restore
/var/runin the form that is expected by the base image. For example, with Alpine Linux base images:
RUN test -e /var/run || ln -s /run /var/run