Deploy a Solid App
Solid is supported as a frontend app. For step-by-step instructions, see the deployment guide.Â
By default, App Platform prepares the build environment by running this command:
DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
 curl \
 {% if system_dependencies %}{{ system_dependencies | join(' ') }}{% endif %} \
 && rm -rf /var/lib/apt/lists/*system_dependencies is the list of system dependencies you specify in the dashboard. App Platform inserts them into the command during the build.
Next, App Platform installs the project dependencies. It picks the package manager (yarn, pnpm, or npm) based on your project files and runs the matching command:
yarn install
pnpm install
npm installTo build the app, App Platform runs the following command by default:
npm run buildMake sure your package.json file contains a build script.
The default build directory is /dist. After the build, App Platform publishes the files from this directory.
Configure your Solid app to build static files. You don’t need a start command.