diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 18 |
1 files changed, 18 insertions, 0 deletions
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 |