From f8cf0fa6792836c91ad082aa757fd24fda412c49 Mon Sep 17 00:00:00 2001 From: zachary <zachary@zacharyboyd.nyc> Date: Wed, 17 Jun 2015 19:58:34 -0400 Subject: [PATCH] Adds dockerfile --- .dockerignore | 16 ++++++++++++++++ Dockerfile | 9 +++++++++ 2 files changed, 25 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000000..e5908c26ac0 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,16 @@ +build +build.xml +ChangeLog +composer.json +CONTRIBUTING.md +COPYING +COPYRIGHT +dev +doc +Dockerfile +INSTALL +README-FR.md +README.md +robots.txt +scripts +test \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000000..6c70913f8b7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM php:5.6-apache + +RUN apt-get update && apt-get install -y php5-gd php5-mysql + +COPY htdocs/ /var/www/html/ + +RUN chown -hR www-data:www-data /var/www/html + +EXPOSE 80 \ No newline at end of file -- GitLab