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