#!/bin/bash

# Install Playwright browser dependencies (only needed once per container start)
npx playwright install --with-deps

# Start required services
service nginx start
cron

# Start your Node.js server
node server.js &

# Wait for any process to exit
wait -n
