FROM alpine
RUN sleep 10
RUN apk update
RUN apk add php
RUN apk add php-fpm
RUN apk add php-mysqli
RUN apk add php-gd
RUN apk add php-mbstring
RUN apk add php-curl
RUN apk add php-json
RUN apk add php-xml
RUN apk add php-zip
RUN apk add php-session
COPY srcs/www.conf /etc/php81/php-fpm.d/www.conf
WORKDIR /root/
CMD php-fpm81 -F -R
EXPOSE 9000/tcp