mirror of
https://github.com/suitenumerique/messages.git
synced 2026-10-01 14:15:06 +02:00
* 🚀(scalingo) add scalingo nginx config * 👷(frontend) fix frontend build, no lint for now * 👷(scalingo) fix frontend build location and backend buildpack compat * 🐛(nginx) try another build location * 🐛(scalingo) fix nginx startup * 🐛(scalingo) fix scripts and buildpack run location * 🐛(scalingo) fix buildpack cleanup * 🐛(nginx) pass host headers to the backend * 🚀(scalingo) support DATABASE_URL env var
14 lines
313 B
Bash
14 lines
313 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-frontend script"
|
|
|
|
# Move the frontend build to the nginx root and clean up
|
|
mkdir -p build/
|
|
mv src/frontend/out build/frontend-out
|
|
|
|
mv src/backend/* ./
|
|
mv src/nginx/* ./
|