From 1be8276ed97cef78a60a07fce002fde38a4fc090 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 17 Apr 2023 11:44:13 +0200 Subject: Add Dockerfile and instructions for docker-compose --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2216c30 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM composer AS composer + +COPY composer.* /app + +RUN composer install \ + --optimize-autoloader \ + --no-interaction \ + --no-progress + + +FROM php:fpm-alpine as php + +COPY --from=composer /app/vendor /app/vendor +COPY public /app/public +COPY src /app/src + + +FROM php as default -- cgit v1.2.3