summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 03f50b547d80bdb7176ac5e977e15dd95b873899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM php:8.3-apache-bookworm AS base
RUN a2enmod rewrite
RUN apt update && apt install -y \
    curl \
    git \
    libzip-dev \
    unzip \
    libpng-dev \
    libwebp-dev \
    libjpeg62-turbo-dev \
    libxmp-dev \
    libfreetype6-dev \
    libpq-dev
RUN docker-php-ext-configure gd \
    --with-webp \
    --with-jpeg \
    --with-freetype
RUN docker-php-ext-install gd zip pgsql
#RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

FROM base
COPY ./000-default.conf /etc/apache2/sites-available/000-default.conf