diff --git a/Dockerfile b/Dockerfile index a37638e..ae6c416 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,11 @@ RUN chmod +x /usr/local/bin/install-php-extensions && \ # Clone source code if not downloaded RUN rm -rf /var/www/html -RUN git clone https://github.com/bluecraank/open-signage.git /var/www/html +# RUN git clone https://github.com/bluecraank/open-signage.git /var/www/html +ARG BRANCH=master +ADD https://api.github.com/repos/bluecraank/open-signage/git/refs/heads/$BRANCH version.json +RUN git clone -b $BRANCH https://github.com/bluecraank/open-signage.git /var/www/html + COPY .env.example.productive /var/www/html/.env # Apache configuration