Skip to content

Commit d3690a4

Browse files
authored
merge some layers when copying the files into the container (#206)
1 parent 44d7108 commit d3690a4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ COPY ./php.ini "$PHP_INI_DIR/php.ini"
9797
RUN a2enmod rewrite
9898

9999
# Copy the downloaded release
100-
RUN cp -R /tmp/koel/. /var/www/html
101-
RUN [ ! -f /var/www/html/public/manifest.json ] && cp /var/www/html/public/manifest.json.example /var/www/html/public/manifest.json || true
102-
RUN chown -R www-data:www-data /var/www/html
100+
RUN cp -R /tmp/koel/. /var/www/html \
101+
&& mv /var/www/html/public/manifest.json.example /var/www/html/public/manifest.json \
102+
&& chown -R www-data:www-data /var/www/html
103103

104104
# Volumes for the music files and search index
105105
# This declaration must be AFTER creating the folders and setting their permissions

0 commit comments

Comments
 (0)