diff --git a/Dockerfile b/Dockerfile index 3b5b0de..cc1d7b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,6 @@ FROM php:8.1.12-apache-bullseye LABEL Maintainer="Libretic" LABEL Description="Unofficial Docker image for Paheko." -ARG PAHEKO_VERSION -ENV PAHEKO_VERSION=$PAHEKO_VERSION - ENV APACHE_DOCUMENT_ROOT /var/www/paheko/www # Required PHP extensions and packages @@ -13,6 +10,9 @@ RUN apt-get update && \ docker-php-ext-configure gd --with-freetype --with-jpeg && \ docker-php-ext-install -j$(nproc) gd intl zip opcache +ARG PAHEKO_VERSION +ENV PAHEKO_VERSION=$PAHEKO_VERSION + # Downloading and installing Paheko RUN cd /var/www && \ curl -L -O https://fossil.kd2.org/paheko/uv/paheko-$PAHEKO_VERSION.tar.gz && \