Files
lasuite-drive/bin/scalingo_postcompile
T
Sylvain Zimmer dd6f0be90a 🚀(scalingo) add Scalingo deployment scripts and fix frontend build
This commit, with contributions from Sylvain Grizard, adds support
for PaaS deployment platforms such as Scalingo, which build the
project on commit. It uses the La Suite Buildpack, which compiles
the frontend first as static files, and serves them along with
the backend with nginx.
2025-06-03 11:06:01 +02:00

12 lines
299 B
Bash

#!/bin/bash
set -o errexit # always exit on error
set -o pipefail # don't ignore exit codes when piping output
echo "-----> Running post-compile script"
# Remove all the files we don't need
rm -rf src docker env.d .cursor .github compose.yaml README.md .cache
chmod +x bin/scalingo_run_web