mirror of https://github.com/akaunting/docker.git
download latest version
This commit is contained in:
parent
7716e614ab
commit
c66f01fd9a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue