diff --git a/Dockerfile b/Dockerfile index df20f63..070a4de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,8 @@ RUN composer --working-dir=/srv install FROM php:apache LABEL maintainer="Luke Tainton " +ARG VERSION RUN docker-php-ext-install pdo_mysql && a2enmod rewrite remoteip COPY vhost.conf /etc/apache2/sites-enabled/000-default.conf COPY --from=build /srv /srv +RUN echo $VERSION > /srv/includes/VERSION \ No newline at end of file diff --git a/app/includes/app_functions.php b/app/includes/app_functions.php index 6b24d39..7717b83 100644 --- a/app/includes/app_functions.php +++ b/app/includes/app_functions.php @@ -1,4 +1,10 @@