1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-11-15 03:50:11 +01:00
pingvin-share/scripts/docker-entrypoint.sh
2024-08-11 15:53:56 +02:00

10 lines
242 B
Bash

#!/bin/sh
# Start Caddy
caddy start --config /etc/caddy/Caddyfile &
# Run the frontend server
PORT=3333 HOSTNAME=0.0.0.0 node frontend/server.js &
# Run the backend server
cd backend && npm run prod
# Wait for all processes to finish
wait -n