mirror of
https://github.com/Ahwxorg/Binternet.git
synced 2026-03-11 08:54:37 +00:00
7 lines
406 B
Docker
7 lines
406 B
Docker
FROM debian:11
|
|
LABEL maintainer="ahwx@ahwx.org"
|
|
RUN apt-get -y update && apt-get -y install php php-fpm php-curl nginx nginx-common git
|
|
RUN git clone https://github.com/Ahwxorg/binternet /var/www/html/binternet
|
|
COPY nginx.conf /etc/nginx/sites-enabled/binternet
|
|
EXPOSE 8009
|
|
CMD service php$(php -v | grep PHP | head -n1 | cut -d " " -f2 | cut -d "." -f1-2)-fpm start && /usr/sbin/nginx -g "daemon off;"
|