Skip to content

Commit

Permalink
php7.3 + prestissimo
Browse files Browse the repository at this point in the history
  • Loading branch information
fredsted committed Oct 16, 2019
1 parent ee5502d commit 20a6ecb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY gulpfile.js /app
RUN npm run gulp

# Stage 2: Composer, nginx and fpm
FROM bkuhl/fpm-nginx:fpm-7_nginx-1
FROM bkuhl/fpm-nginx:7.3
WORKDIR /var/www/html

COPY /nginx.conf /etc/nginx/conf.d
Expand All @@ -20,7 +20,8 @@ USER www-data
ADD --chown=www-data:www-data /composer.json /var/www/html
ADD --chown=www-data:www-data /composer.lock /var/www/html

RUN composer install --no-interaction --no-autoloader --no-dev --prefer-dist --no-scripts \
RUN composer global require hirak/prestissimo \
&& composer install --no-interaction --no-autoloader --no-dev --prefer-dist --no-scripts \
&& rm -rf /home/www-data/.composer/cache

ADD --chown=www-data:www-data /storage /var/www/html/storage
Expand Down

0 comments on commit 20a6ecb

Please sign in to comment.