Overview
Thedocker schematic generates a production-ready Dockerfile and a .dockerignore at the specified directory. The Dockerfile is tailored to the package manager you use — selecting the correct base image, lockfile, and install command automatically.
Usage
Options
Generated files
Dockerfile behaviour by package manager
The Dockerfile follows a standard multi-step approach:
- Copy
package.jsonand the lockfile. - Install dependencies with frozen lockfile for reproducible builds.
- Copy the rest of the source.
- Run
build. - Start with
start.