resolving dockerfile error
continuous-integration/drone/push Build is passing Details

master
dohodin 11 months ago
parent 3b922ab8f6
commit faca74dd4d

@ -6,12 +6,11 @@ COPY . /var/www/html
WORKDIR /var/www/html WORKDIR /var/www/html
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN composer install RUN composer install --no-scripts --no-interaction
RUN a2enmod rewrite RUN a2enmod rewrite
RUN a2enmod actions RUN a2enmod actions
COPY ./vhost.conf /etc/apache2/sites-available/000-default.conf COPY ./vhost.conf /etc/apache2/sites-available/000-default.conf
RUN service apache2 restart RUN service apache2 restart
ENTRYPOINT ["php","-S","0.0.0.0:80","-t","./public"] ENTRYPOINT ["php","-S","0.0.0.0:8383","-t","./public"]

Loading…
Cancel
Save