Just copy, we chown later anyway

This commit is contained in:
Girish Ramakrishnan 2020-11-10 17:15:02 -08:00
parent 5f966f9268
commit 926b66b266

View file

@ -6,7 +6,7 @@ mkdir -p /app/data/runtime /app/data/config
if [[ ! -f /app/data/config/prometheus.yml ]]; then if [[ ! -f /app/data/config/prometheus.yml ]]; then
echo "=> Creating config file on first run" echo "=> Creating config file on first run"
sudo -u cloudron cp -n /app/code/prometheus.yml /app/data/config/prometheus.yml cp /app/code/prometheus.yml /app/data/config/prometheus.yml
fi fi
chown -R cloudron:cloudron /app/data chown -R cloudron:cloudron /app/data