When deploying with GitHub, Hop will automatically infer your build environment and initiate a build for each push to git
Resources
tab within the deployment.
hop deploy
spins up a server-side builder instance. To use your local machine’s cache and compute power to build & push your image instead, append the --local
flag.
Dockerfile
then you can use the following environment variables to customize your build.
Variable | Description |
---|---|
NIXPACKS_INSTALL_CMD | Override the install command |
NIXPACKS_BUILD_CMD | Override the build command |
NIXPACKS_START_CMD | Override the start command |
NIXPACKS_PKGS | Additional Nix packages to install |
NIXPACKS_APT_PKGS | Add additional Apt packages to install |
NIXPACKS_LIBS | Add additional Nix libraries to make available |
NIXPACKS_DEBIAN | Enable Debian base image, used for supporting OpenSSL 1.1 |