Skip to content

Commit

Permalink
Merge pull request #467 from jesusantguerrero/feat/coolify-nginx
Browse files Browse the repository at this point in the history
chore: set user at the end of the file
  • Loading branch information
jesusantguerrero authored Sep 13, 2024
2 parents dff8891 + af18c20 commit adbdce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coolify.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
# chown -R $user:$user /var/www && \
RUN chown -R www-data:www-data /var/www

USER www-data

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

COPY --from=static-assets --chown=9999:9999 /var/www/public/build ./public/build
Expand All @@ -65,3 +63,5 @@ COPY --from=static-assets --chown=9999:9999 /var/www/public/build ./public/build
RUN echo "alias ll='ls -al'" >>/etc/bash.bashrc
RUN echo "alias a='php artisan'" >>/etc/bash.bashrc
RUN echo "alias logs='tail -f storage/logs/laravel.log'" >>/etc/bash.bashrc

USER www-data

0 comments on commit adbdce3

Please sign in to comment.