chore(Dockerfile): squash layers (chown)
This commit is contained in:
parent
7ecb1de169
commit
4553406ee8
1 changed files with 1 additions and 4 deletions
|
|
@ -53,12 +53,9 @@ RUN tar -xzvf panel.tar.gz
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN composer install --no-dev --optimize-autoloader
|
RUN composer install --no-dev --optimize-autoloader
|
||||||
|
|
||||||
# Change the owner of the files, recursively
|
|
||||||
RUN chown -R www-data:www-data /var/www/pterodactyl
|
|
||||||
|
|
||||||
FROM base as app
|
FROM base as app
|
||||||
|
|
||||||
WORKDIR /var/www/pterodactyl
|
WORKDIR /var/www/pterodactyl
|
||||||
USER www-data
|
USER www-data
|
||||||
|
|
||||||
COPY --from=builder /var/www/pterodactyl /var/www/ptereodactyl
|
COPY --from=builder --chown=www-data:www-data /var/www/pterodactyl /var/www/pterodactyl
|
||||||
|
|
|
||||||
Reference in a new issue