]> git.p6c8.net - jirafeau_mojo42.git/blob - Dockerfile
[TASK] Add translation item for plural
[jirafeau_mojo42.git] / Dockerfile
1 FROM php:7.1.1-fpm-alpine
2 MAINTAINER "Jérôme Jutteau <mojo@jirafeau.net>"
3
4 RUN apk update && \
5 apk add lighttpd git && \
6 ln -snf /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
7 echo "UTC" > /etc/timezone && \
8 mkdir -p /usr/local/etc/php / && \
9 mkdir /www
10
11 WORKDIR /www
12
13 COPY docker/php.ini /usr/local/etc/php/php.ini
14 COPY docker/lighttpd.conf /etc/lighttpd/lighttpd.conf
15 COPY *.php LICENSE.txt ./
16 COPY lib lib
17 COPY media media
18
19 RUN chown -R www-data. . && \
20 chmod o=,ug=rwX -R . && \
21 apk del git && \
22 rm -rf /var/cache/apk/*
23
24 CMD php-fpm -D && lighttpd -D -f /etc/lighttpd/lighttpd.conf
25 EXPOSE 80

patrick-canterino.de