From 3e0735c62079ac777fd08051b7e7602eebf74a5d Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Wed, 28 Aug 2024 11:10:53 +0200 Subject: [PATCH] fix: default logo not displayed on fresh installations --- scripts/docker-entrypoint.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/docker-entrypoint.sh b/scripts/docker-entrypoint.sh index 970265d8..34fd7720 100644 --- a/scripts/docker-entrypoint.sh +++ b/scripts/docker-entrypoint.sh @@ -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 \ No newline at end of file +wait -n