diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..a955dc5aa1cf6c848d0c78bace9efe30935441e1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM php:fpm-alpine + +WORKDIR app + +COPY . . + +RUN apk update && \ + apk add libpq-dev && \ + docker-php-ext-install pdo pdo_pgsql pgsql + +ENV COMPOSER_ALLOW_SUPERUSER=1 +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer +RUN composer install + +CMD ["php-fpm"] \ No newline at end of file