10 lines
473 B
Text
10 lines
473 B
Text
|
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
|