Compare commits

..
Author SHA1 Message Date
marc 2c600ed762 little clean 2022-09-12 21:30:09 +02:00
2 changed files with 1 additions and 23 deletions
+1 -5
View File
@@ -1,7 +1,5 @@
FROM php:7.2-apache
RUN mkdir -p /home/numeris
# Install packages
RUN apt-get update && apt-get install -y \
git \
@@ -28,11 +26,9 @@ WORKDIR /home/numeris
RUN composer install --no-interaction
# Final touch
RUN . ~/.bashrc
# RUN . ~/.bashrc
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN usermod -u 1000 www-data
RUN chown -R www-data:www-data /home/numeris
RUN chown -R www-data:www-data /var/log/apache2/
WORKDIR /home/numeris
-18
View File
@@ -1,18 +0,0 @@
#!/usr/bin/env bash
php artisan tinker
php artisan migrate:refresh --seed
php artisan migrate
php artisan migrate --force
php artisan migrate:refresh
php artisan migrate:rollback
php artisan db:seed
vendor/bin/phpunit
# less +G storage/logs/laravel.log
php artisan config:clear
php artisan cache:clear
php artisan route:clear
xhp artisan route:cache
php artisan config:cache
php artisan key:generate
php artisan jwt:secret