mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-08 07:16:49 +00:00
make ./composer directory owned by www-data
This commit is contained in:
@@ -49,6 +49,7 @@ RUN chown -R www-data:www-data /var/www/html/api
|
||||
|
||||
# Setup composer root directory
|
||||
RUN mkdir -p /root/.composer
|
||||
RUN mkdir -p /var/www/.composer && chown www-data:www-data /var/www/.composer
|
||||
|
||||
# Load the secret into the auth.json file.
|
||||
RUN --mount=type=secret,id=composer_auth,dst=/root/.composer/auth.json
|
||||
|
||||
Reference in New Issue
Block a user