Environment Variables
Some parts of the build can be configured with environment variables. These are
often prefixed with RAILPACK_
.
Build Configuration
Name | Description |
---|---|
BUILD_CMD | Set the command to run for the build step. This overwrites any commands that come from providers |
START_CMD | Set the command to run when the container starts |
PACKAGES | Install additional Mise packages. In the format pkg@version . The latest version is used if not provided. |
BUILD_APT_PACKAGES | Install additional Apt packages during build |
DEPLOY_APT_PACKAGES | Install additional Apt packages in the final image |
To configure more parts of the build, it is recommended to use a config file.
Global Options
These environment variables affect the behavior of Railpack:
Name | Description |
---|---|
FORCE_COLOR | Force colored output even when not in a TTY |