diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-11-13 13:37:26 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-11-20 17:30:39 +0100 |
commit | d017568a77d677e449e66d689450532a760d6f11 (patch) | |
tree | 2d386b94278f30d6fe3dc585e4be3f676b549621 /Dockerfile |
initial commit
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
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 . |