mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-15 01:14:27 -05:00
fix: default logo not displayed on fresh installations
This commit is contained in:
parent
d05988f281
commit
3e0735c620
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copy default logo to the frontend public folder if it doesn't exist
|
||||
cp -rn /tmp/img/* /opt/app/frontend/public/img
|
||||
|
||||
# Start Caddy
|
||||
caddy start --config /etc/caddy/Caddyfile &
|
||||
# Run the frontend server
|
||||
|
@ -7,4 +10,4 @@ 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
|
||||
wait -n
|
||||
|
|
Loading…
Add table
Reference in a new issue