Mise à jour de 'Dockerfile'
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
6798e9e3e6
commit
be877a91dc
@ -1,10 +1,17 @@
|
|||||||
FROM php:8.2-apache
|
FROM php:8.2-apache
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y git zip
|
RUN apt-get update && apt-get install -y git zip
|
||||||
|
|
||||||
COPY . /var/www/html
|
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
|
||||||
|
|
||||||
RUN a2enmod rewrite
|
RUN a2enmod rewrite
|
||||||
RUN a2enmod actions
|
RUN a2enmod actions
|
||||||
|
|
||||||
|
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:80","-t","./public"]
|
Loading…
Reference in new issue