FROM debian:bullseye-slim RUN apt-get update && apt-get install --no-install-recommends -y php-fpm nginx fusiondirectory RUN mkdir /run/php && rm /etc/nginx/sites-enabled/default /etc/nginx/sites-available/default COPY nginx-fusiondirectory.conf /etc/nginx/conf.d/fusiondirectory.conf COPY fusiondirectory.conf /usr/share/doc/fusiondirectory/fusiondirectory.conf COPY start.sh /root/start.sh RUN chmod +x /root/start.sh EXPOSE 80 CMD /root/start.sh