FusionDirectory-Docker/Dockerfile

10 lines
473 B
Text
Raw Normal View History

2022-01-20 08:49:43 +01:00
FROM debian:bullseye-slim
RUN apt-get update && apt install --no-install-recommends -y php-fpm nginx fusiondirectory fusiondirectory-plugin-mail
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