download latest version

This commit is contained in:
denisdulici 2020-05-30 15:35:54 +03:00
parent 7716e614ab
commit c66f01fd9a
1 changed files with 3 additions and 5 deletions

View File

@ -1,12 +1,10 @@
FROM nginx:alpine FROM nginx:alpine
ENV AKAUNTING_VERSION 2.0.13
RUN apk update && apk add --no-progress -q wget unzip RUN apk update && apk add --no-progress -q wget unzip
RUN wget https://github.com/akaunting/akaunting/releases/download/${AKAUNTING_VERSION}/Akaunting_${AKAUNTING_VERSION}-Stable.zip RUN wget -O akaunting.zip https://akaunting.com/download.php?version=latest&utm_source=docker
RUN mkdir -p /var/www/akaunting RUN mkdir -p /var/www/akaunting
RUN unzip Akaunting_${AKAUNTING_VERSION}-Stable.zip -d /var/www/akaunting RUN unzip akaunting.zip -d /var/www/akaunting
RUN rm Akaunting_${AKAUNTING_VERSION}-Stable.zip RUN rm akaunting.zip
RUN chmod -R 777 /var/www/akaunting RUN chmod -R 777 /var/www/akaunting