Dockerfile 324 Bytes
Newer Older
Jørn Åne de Jong's avatar
Jørn Åne de Jong committed
1
2
3
4
5
6
7
8
9
10
11
FROM centos:centos7
RUN yum -y update
RUN yum -y install epel-release
RUN yum -y install composer lighttpd lighttpd-fastcgi php-cgi
COPY composer.json /var/www/
WORKDIR /var/www/
RUN composer install --no-dev
COPY www /var/www/www/
COPY dist /var/www/dist/
CMD /usr/sbin/lighttpd -D -f /var/www/dist/lighttpd.conf
EXPOSE 80