fix: blossom config
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 1m19s

This commit is contained in:
Stixx 2024-11-06 22:13:48 +01:00
parent 7312914859
commit 005d022bc0
2 changed files with 6 additions and 2 deletions

View File

@ -47,6 +47,4 @@ EXPOSE 3000
ENV DEBUG="blossom-server,blossom-server:*"
ENV BLOSSOM_CONFIG="data/config.yml"
COPY config.example.yml /app/data/config.yml
CMD [ "/app/start.sh" ]

View File

@ -1,5 +1,11 @@
#!/bin/bash
echo "==> Copy config in not existing"
if [[ ! -f /app/data/config.yml ]]; then
echo "=> First run, copying config files"
cp config.example.yml /app/data/config.yml
fi
echo "==> Changing ownership"
chown -R cloudron:cloudron /app/data