railpack

Configure and troubleshoot Railpack builds, with emphasis on RAILPACK_* environment variables, railpack.json overlays, build-plan inspection, local CLI installation and usage, and local BuildKit containers. Use for Railpack provider configuration, custom install/build/start commands, Mise or Apt packages, build or runtime variables and secrets, generated-plan debugging, BUILDKIT_HOST errors, or running Railpack from a release or source checkout.

Install
npx skills add 'https://github.com/railwayapp/railpack/tree/main/.'
Incomplete bundle · no download
main · 21a254fScanned 2026-09-17

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗

core/__snapshots__/TestGenerateBuildPlanForExamples_python-pip_1.snap.json

core/__snapshots__/TestGenerateBuildPlanForExamples_python-pip_1.snap.jsonBrowse 1970 files
View on GitHub
← Back to SKILL.md
{ "caches": {  "pip": {   "directory": "/opt/pip-cache",   "type": "shared"  } }, "deploy": {  "base": {   "image": "ghcr.io/railwayapp/railpack-runtime:mise-2026.9.9"  },  "inputs": [   {    "include": [     "/mise/shims",     "/mise/installs",     "/usr/local/bin/mise",     "/etc/mise/config.toml",     "/root/.local/state/mise"    ],    "step": "packages:mise"   },   {    "include": [     "/app/.venv"    ],    "step": "build"   },   {    "exclude": [     ".venv"    ],    "include": [     "."    ],    "step": "build"   }  ],  "startCommand": "python app.py",  "variables": {   "PIP_DEFAULT_TIMEOUT": "100",   "PIP_DISABLE_PIP_VERSION_CHECK": "1",   "PYTHONDONTWRITEBYTECODE": "1",   "PYTHONFAULTHANDLER": "1",   "PYTHONHASHSEED": "random",   "PYTHONUNBUFFERED": "1",   "RAILPACK_VERSION": "dev"  } }, "steps": [  {   "assets": {    "generated-mise-toml": "[generated-mise-toml]"   },   "commands": [    {     "path": "/mise/shims"    },    {     "dest": ".python-version",     "src": ".python-version"    },    {     "customName": "create mise config",     "name": "generated-mise-toml",     "path": "/etc/mise/config.toml"    },    {     "cmd": "mise install",     "customName": "install mise packages: python"    }   ],   "inputs": [    {     "image": "ghcr.io/railwayapp/railpack-builder:mise-2026.9.9"    }   ],   "name": "packages:mise",   "variables": {    "MISE_CACHE_DIR": "/mise/cache",    "MISE_CONFIG_DIR": "/mise",    "MISE_DATA_DIR": "/mise",    "MISE_INSTALLS_DIR": "/mise/installs",    "MISE_SHIMS_DIR": "/mise/shims"   }  },  {   "caches": [    "pip"   ],   "commands": [    {     "cmd": "python -m venv /app/.venv"    },    {     "path": "/app/.venv/bin"    },    {     "dest": "requirements.txt",     "src": "requirements.txt"    },    {     "cmd": "pip install -r requirements.txt"    }   ],   "inputs": [    {     "step": "packages:mise"    }   ],   "name": "install",   "variables": {    "PIP_CACHE_DIR": "/opt/pip-cache",    "PIP_DEFAULT_TIMEOUT": "100",    "PIP_DISABLE_PIP_VERSION_CHECK": "1",    "PYTHONDONTWRITEBYTECODE": "1",    "PYTHONFAULTHANDLER": "1",    "PYTHONHASHSEED": "random",    "PYTHONUNBUFFERED": "1",    "VIRTUAL_ENV": "/app/.venv"   }  },  {   "inputs": [    {     "step": "install"    },    {     "include": [      "."     ],     "local": true    }   ],   "name": "build",   "secrets": [    "*"   ]  } ]}