Mise à jour de 'Sources/config/Dockerfile'
continuous-integration/drone/push Build is passing Details

master
David D'ALMEIDA 1 year ago
parent 99f9e2ec22
commit 373cc847ab

@ -1,16 +1,8 @@
FROM php:8.2-apache as base FROM php:8.2-apache as base
# Installation de dépendances nécessaires pour Composer
RUN apt-get update && apt-get install -y \
git \
unzip
# Installation de Composer
# TODO : should use a image with composer install
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN docker-php-ext-install pdo pdo_mysql RUN docker-php-ext-install pdo pdo_mysql
COPY . /var/www/html/ COPY . /var/www/html/
WORKDIR /var/www/html/ WORKDIR /var/www/html/
EXPOSE 80 EXPOSE 88
Loading…
Cancel
Save