From 1bf7a4cce5e6235f4d9065e892c9aead51866238 Mon Sep 17 00:00:00 2001 From: startxfr Date: Thu, 20 Nov 2014 11:34:01 +0100 Subject: modif de code example dans les readme --- Services/php/Dockerfile | 2 +- Services/php/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Services/php') diff --git a/Services/php/Dockerfile b/Services/php/Dockerfile index cca87cb..ca945ee 100644 --- a/Services/php/Dockerfile +++ b/Services/php/Dockerfile @@ -10,6 +10,6 @@ RUN yum -y install php php-pecl-mongo php-cli php-pear \ && yum clean all \ && rm -rf /var/www/html \ && ln -s /src /var/www/html -ADD index.php /src/index.php +COPY index.php /src/index.php CMD ["/bin/apache_run.sh"] \ No newline at end of file diff --git a/Services/php/README.md b/Services/php/README.md index 7d85d27..461e6a0 100644 --- a/Services/php/README.md +++ b/Services/php/README.md @@ -7,13 +7,13 @@ This container run php via apache on fedora server. ## Build and run from local Dockerfile ### Building docker image -Copy the sources to your docker host +* Copy sources in your docker host mkdir startx-docker-images; cd startx-docker-images; git clone https://github.com/startxfr/docker-images.git . -and build the container +* Build the container docker build -t sv-php Services/php/ -- cgit v1.2.3