All the code

This commit is contained in:
Marijn Doeve
2024-09-24 22:58:38 +02:00
commit 05f07e9759
49 changed files with 7943 additions and 0 deletions

13
Containerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM php:8.3-apache AS base
RUN apt-get update && apt-get upgrade -y && apt-get install -y git libzip-dev unzip
RUN docker-php-ext-install zip
ENV APACHE_DOCUMENT_ROOT /var/www/html/public
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf
RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
FROM base AS dev
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer