30 lines
629 B
Docker
30 lines
629 B
Docker
|
FROM alpine
|
||
|
RUN sleep 10
|
||
|
RUN apk update
|
||
|
RUN apk add sudo
|
||
|
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-pdo
|
||
|
RUN apk add php-dom
|
||
|
RUN apk add php-ctype
|
||
|
RUN apk add php-openssl
|
||
|
RUN apk add php-posix
|
||
|
RUN apk add php-session
|
||
|
RUN apk add php-simplexml
|
||
|
RUN apk add php-xmlreader
|
||
|
RUN apk add php-xmlwriter
|
||
|
RUN apk add php-zlib
|
||
|
RUN apk add php-pdo_mysql
|
||
|
COPY srcs/start.sh /root/start.sh
|
||
|
COPY srcs/www.conf /etc/php81/php-fpm.d/www.conf
|
||
|
WORKDIR /root/
|
||
|
CMD sh start.sh
|
||
|
EXPOSE 9000/tcp
|