Dockerfile 406 B

1234567
  1. FROM debian:11
  2. LABEL maintainer="ahwx@ahwx.org"
  3. RUN apt-get -y update && apt-get -y install php php-fpm php-curl nginx nginx-common git
  4. RUN git clone https://github.com/Ahwxorg/binternet /var/www/html/binternet
  5. COPY nginx.conf /etc/nginx/sites-enabled/binternet
  6. EXPOSE 8009
  7. CMD service php$(php -v | grep PHP | head -n1 | cut -d " " -f2 | cut -d "." -f1-2)-fpm start && /usr/sbin/nginx -g "daemon off;"