From abbe2c03fc7881f6ec8fbe393eb433dd5e67df23 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Mon, 22 Apr 2024 21:44:35 -0700 Subject: [PATCH] Update Flarum image to 1.8.5 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6dfdbbf..0aa5845 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM php:apache +ARG FLARUM_VERSION=1.8.5 WORKDIR /flarum/app ENV APACHE_DOCUMENT_ROOT /flarum/app/public @@ -23,7 +24,7 @@ RUN apt-get update \ COPY docker/make_config.php /flarum/make_config.php COPY docker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh RUN chmod a+x /usr/local/bin/docker-entrypoint.sh -RUN composer create-project flarum/flarum /flarum/app +RUN composer create-project flarum/flarum /flarum/app "$FLARUM_VERSION" RUN chown -R www-data:www-data /flarum VOLUME /flarum/app/extensions /flarum/app/public/assets /flarum/app/storage/logs