9 lines
473 B
Docker
9 lines
473 B
Docker
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
|