Merge pull request 'merge dev to master' (#53) from dev into master
Reviewed-on: WillaEngine-Project/WillaEngine#53pull/87/head
commit
467b11d8cc
@ -0,0 +1,25 @@
|
||||
FROM dfs1368/laravel-php-fpm:7.4
|
||||
|
||||
WORKDIR /var/www
|
||||
|
||||
RUN apt install -y sendmail libpng-dev
|
||||
RUN docker-php-ext-install gd
|
||||
RUN echo 'memory_limit = -1' >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini;
|
||||
|
||||
COPY modules /var/www/modules
|
||||
COPY database /var/www/database
|
||||
COPY composer.json /var/www/
|
||||
COPY composer.lock /var/www/
|
||||
|
||||
RUN composer install --no-scripts
|
||||
|
||||
COPY . /var/www
|
||||
|
||||
RUN chown -R www-data:www-data \
|
||||
/var/www/public \
|
||||
/var/www/storage \
|
||||
/var/www/bootstrap/cache
|
||||
|
||||
RUN mv .env.prod .env
|
||||
|
||||
RUN php artisan optimize
|
Loading…
Reference in new issue