Documentation

Examples

Detailed Examples

Find a Layerfile configuration for a specific technology below. If you need a detailed walkthrough and explanation of each directive, check out the detailed guides with “View Detailed Guide”.

React

React

Layerfile reference for React apps created with create-react-app.

Docker

Docker

Layerfile reference for Docker.

Docker Compose

Docker Compose

Layerfile reference for Docker Compose.

Kubernetes

Kubernetes

Layerfile configuration for Kubernetes.

Node JS

Node JS

Layerfile configuration for Node JS backend.

Angular

Angular

Layerfile for Angular app.

Django

Django

Layerfile configuration for Django backend.

Rails

Rails

Layerfile configuration for Rails

Laravel

Laravel

Layerfile configuration for Laravel

Something Else

Something Else

Generic Layerfile configuration to get you started.