diff options
author | Jonas Kohl | 2024-09-08 17:53:55 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-08 17:53:55 +0200 |
commit | 415a0a96a76afbe7f1ad2f51862641793caf1b6c (patch) | |
tree | 1168316bff6a2ec04ee27db5ada5431ba6631ce4 /Dockerfile |
Initial commit
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..03f50b5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,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 |