Dockefile work fine, image created 5
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
32984fcf6d
commit
b6009ebba9
@ -1,11 +1,12 @@
|
|||||||
FROM php:8.1-apache
|
FROM php:8.1-apache
|
||||||
RUN apt-get update && apt-get install -y git zip tree
|
RUN apt-get update && apt-get install -y git zip
|
||||||
COPY . /var/www/html
|
COPY . /var/www/html
|
||||||
RUN tree
|
|
||||||
WORKDIR /var/www/html/Source/Config
|
WORKDIR /var/www/html/Source/Config
|
||||||
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 update && composer install
|
RUN composer update && composer install
|
||||||
RUN a2enmod rewrite
|
RUN a2enmod rewrite
|
||||||
RUN a2enmod actions
|
RUN a2enmod actions
|
||||||
RUN service apache2 restart
|
RUN service apache2 restart
|
||||||
|
WORKDIR /var/www/html
|
||||||
|
RUN ln -sf Source/index.php index.php
|
||||||
|
|
||||||
|
Loading…
Reference in new issue