Adds Docker to allow users to get the project up and running quickly.

This commit is contained in:
luke
2023-01-28 20:03:55 +00:00
parent 48caaed58c
commit b702e0c084
3 changed files with 52 additions and 0 deletions

19
docker/Dockerfile Normal file
View File

@ -0,0 +1,19 @@
ARG PHP=8.1
FROM php:${PHP}-cli-alpine
RUN apk update \
&& apk add zip libzip-dev icu-dev
RUN docker-php-ext-configure zip
RUN docker-php-ext-install zip
RUN docker-php-ext-enable zip
RUN docker-php-ext-configure intl
RUN docker-php-ext-install intl
RUN docker-php-ext-enable intl
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
WORKDIR /var/www/html
ENTRYPOINT ["php"]