Skip to content

Commit

Permalink
Merge pull request #465 from jesusantguerrero/feat/coolify-nginx
Browse files Browse the repository at this point in the history
chore:  comment useradd
  • Loading branch information
jesusantguerrero authored Sep 13, 2024
2 parents 96d1737 + 4ea8bbb commit 7d8fa1b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions coolify.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ COPY . .
# Get latest Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
# Create system user to run Composer and Artisan Commands
RUN useradd -G www-data,root,crontab -u $uid -d /home/$user $user
RUN mkdir -p /home/$user/.composer && \
chown -R $user:$user /home/$user && \
chown -R $user:$user /var/www && \
chown -R www-data:www-data /var/www
# RUN useradd -G www-data,root,crontab -u $uid -d /home/$user $user
# RUN mkdir -p /home/$user/.composer && \
# chown -R $user:$user /home/$user && \
# chown -R $user:$user /var/www && \
# chown -R www-data:www-data /var/www

USER $user
# USER $user

RUN composer install --ignore-platform-reqs --no-dev --no-interaction --no-plugins --no-scripts --prefer-dist

Expand Down

0 comments on commit 7d8fa1b

Please sign in to comment.