PPT-Springboot / server.sh
shashidharak99's picture
Create server.sh
939b06a verified
raw
history blame contribute delete
178 Bytes
#!/bin/bash
cd /app/project
npm install
npm run build
# Start initial server
npx serve -s build -l 7860 &
# Start cron
cron
# Keep container alive
tail -f /var/log/cron.log