fix: deployment optimizations
This commit is contained in:
parent
825e8c6d3e
commit
477a453ffa
2 changed files with 4 additions and 6 deletions
|
|
@ -57,12 +57,6 @@ RUN composer dump-autoload
|
|||
COPY --from=static-assets --chown=9999:9999 /app/public/build ./public/build
|
||||
COPY --chmod=755 docker/prod/etc/s6-overlay/ /etc/s6-overlay/
|
||||
|
||||
RUN php artisan route:clear
|
||||
RUN php artisan view:clear
|
||||
|
||||
RUN php artisan route:cache
|
||||
RUN php artisan view:cache
|
||||
|
||||
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
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
#!/command/execlineb -P
|
||||
s6-setuidgid webuser
|
||||
|
||||
php /var/www/html/artisan optimize:clear
|
||||
php /var/www/html/artisan optimize
|
||||
|
||||
php /var/www/html/artisan app:init
|
||||
|
|
|
|||
Loading…
Reference in a new issue