Akaunting/nginx/Dockerfile

12 lines
410 B
Docker
Raw Normal View History

2020-04-15 03:43:31 +00:00
FROM nginx:alpine
RUN apk update && apk add --no-progress -q wget unzip
2020-05-30 12:53:40 +00:00
RUN wget -O akaunting.zip https://akaunting.com/download.php?version=latest&utm_source=docker&utm_campaign=developers
2020-04-15 03:43:31 +00:00
RUN mkdir -p /var/www/akaunting
2020-05-30 12:35:54 +00:00
RUN unzip akaunting.zip -d /var/www/akaunting
RUN rm akaunting.zip
2020-04-15 03:43:31 +00:00
2020-05-30 12:36:58 +00:00
RUN find /var/www/akaunting/ -type d -exec chmod 755 {} \;
RUN find /var/www/akaunting/ -type f -exec chmod 644 {} \;