rybbit/server/docker-entrypoint.sh
Bill Yang 2d22dc6fee
init cloud version (#46)
* init cloud version

* remove unused endpoints

* implement deletion

* Add organization creation

* add getSitesUserHasAccessTo

* Add permission gating for sites

* add organization control

* remove username login

* support creating new sites for organizations

* Delete unused page

* wip
2025-03-09 18:06:48 -07:00

13 lines
No EOL
319 B
Bash

#!/bin/sh
set -e
# Docker Compose already ensures services are ready using healthchecks
# and dependency conditions in the docker-compose.yml file
# Run migrations explicitly using the npm script
echo "Running database migrations...."
npm run db:push
# Start the application
echo "Starting application..."
exec "$@"