We provide a sample app using Docker that you can deploy on App Platform.
Then, create an app using your fork of this repo as the source. App Platform will inspect the code, automatically detect the kind of component to create, and use the correct buildpack to create and deploy a container. From there, you can push changes to your fork and see App Platform automatically re-deploy the update to your app.
/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