diff --git a/Dockerfile b/Dockerfile index c1a46ca..e3de6cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -82,9 +82,9 @@ COPY ./php.ini "$PHP_INI_DIR/php.ini" RUN a2enmod rewrite # Copy the downloaded release -RUN cp -R /tmp/koel/. /var/www/html -RUN [ ! -f /var/www/html/public/manifest.json ] && cp /var/www/html/public/manifest.json.example /var/www/html/public/manifest.json || true -RUN chown -R www-data:www-data /var/www/html +RUN cp -R /tmp/koel/. /var/www/html \ + && mv /var/www/html/public/manifest.json.example /var/www/html/public/manifest.json \ + && chown -R www-data:www-data /var/www/html # Create /tmp/koel if it doesn't exist, and set ownership to www-data RUN mkdir -p /tmp/koel \