You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
430 B
16 lines
430 B
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
|
|
|
|
COPY . /var/www/html/
|
|
|
|
WORKDIR /var/www/html/
|
|
EXPOSE 80 |