Create Dockerfile

pull/13/head
zzg 2015-06-06 01:02:55 +08:00
parent 16fb28e770
commit 7b4de6ce52
1 changed files with 7 additions and 0 deletions

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM tutum/apache-php
RUN apt-get update && apt-get install -yq git && rm -rf /var/lib/apt/lists/*
RUN rm -fr /app
ADD . /app
RUN mkdir /data
RUN chmod -R 777 /data
RUN composer install