From d017568a77d677e449e66d689450532a760d6f11 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 13 Nov 2023 13:37:26 +0100 Subject: initial commit --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..bdb70e1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM php:apache + +COPY --from=composer /usr/bin/composer /usr/bin/composer + +WORKDIR /var/www/html + +RUN apt-get update && apt-get -y install git + +COPY composer* . +RUN composer install + +RUN a2enmod rewrite + +COPY index.php . +COPY .htaccess . -- cgit v1.2.3