blackbirdchess-docker-dev/hhvm/Dockerfile

24 lines
596 B
Docker
Raw Normal View History

2016-10-31 07:33:57 +01:00
FROM ubuntu:14.04
2016-07-25 06:31:31 +02:00
RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
2016-07-25 06:47:17 +02:00
RUN apt-get update -y \
&& apt-get install -y software-properties-common \
2016-07-25 06:31:31 +02:00
&& add-apt-repository "deb http://dl.hhvm.com/ubuntu $(lsb_release -sc) main" \
&& apt-get update -y \
&& apt-get install -y hhvm \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /var/www/laravel
ADD server.ini /etc/hhvm/server.ini
RUN usermod -u 1000 www-data
WORKDIR /var/www/laravel
CMD ["/usr/bin/hhvm", "-m", "server", "-c", "/etc/hhvm/server.ini"]
EXPOSE 9000