Apache Container + Nodejs, how to create?

0

Upload a container with Apache + PHP , but I need to use Laravel-mix strong> and nodejs . Everything works ok, however, at a given time I've seen that the container has restarted, can this relate to my approach to all together as below?

FROM php:7.1-apache

RUN apt-get update && a2enmod rewrite && apt-get install -y curl unzip git npm && curl -sL https://deb.nodesource.com/setup_6.x | bash - && apt-get install -y nodejs

...

Any recommendations in the context of the above scenario?

    
asked by anonymous 07.10.2017 / 22:53

0 answers