BuildEnvironments/NextCloud/Dockerfile

17 lines
No EOL
464 B
Docker

FROM git.zontreck.com/ariascreations/buildenvironments:debianbuild
RUN apt-get install -y apache2 apache2-utils php8.3 php8.3-gd php8.3-mysql php8.3-mbstring php8.3-xml
ENV MOUNTPOINT /var/www/html
ENV NEXTCLOUD_VERSION 30.0.2
WORKDIR /var/www/html
RUN rm index.html
RUN curl -sO "https://github.com/nextcloud/server/archive/refs/tags/v${NEXTCLOUD_VERSION}.tar.gz"
RUN tar -xvf "v${NEXTCLOUD_VERSION}.tar.gz"
EXPOSE 80
CMD ["apache2ctl", "-D", "FOREGROUND"]