update Dockerfile
continuous-integration/drone/push Build is failing Details

pull/3/head
remrem 1 year ago
parent a7ae804373
commit eed0e387af

@ -1,11 +1,11 @@
FROM php:8.1-apache FROM php:8.1-apache
RUN apt-get update && apt-get install -y git zip RUN apt-get update && apt-get install -y git zip
RUN docker-php-ext-install pdo pdo_mysql RUN docker-php-ext-install pdo pdo_mysql
COPY ./public /var/www/html COPY ./public/index.php /var/www/html
COPY ./src ./app composer.json /var/www/ COPY ./src ./app composer.json /var/www/
WORKDIR /var/www WORKDIR /var/www
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 restart apache2
Loading…
Cancel
Save