calendi/docker/entrypoint.sh
2025-04-22 19:05:28 +02:00

11 lines
257 B
Bash

#!/bin/bash
set -e
# Start PHP-FPM service
service php8.4-fpm start
# Change to frontend directory and start npm in background
cd /var/www/html/frontend && npm run start &
# Start Nginx in foreground to keep container running
exec nginx -g 'daemon off;'