From 2ab1f237c7c2f1a305b2814269ebe465b43bb181 Mon Sep 17 00:00:00 2001 From: Vincent Karoubi Date: Tue, 16 Oct 2018 23:18:53 +0200 Subject: [PATCH] Create Dockerfile --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a4536fe --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +# A basic apache server. To use either add or bind mount content under /var/www +FROM ubuntu:12.04 + +MAINTAINER Kimbro Staken version: 0.1 + +RUN apt-get update && apt-get install -y apache2 && apt-get clean && rm -rf /var/lib/apt/lists/* + +ENV APACHE_RUN_USER www-data +ENV APACHE_RUN_GROUP www-data +ENV APACHE_LOG_DIR /var/log/apache2 + +EXPOSE 80 + +CMD ["/usr/sbin/apache2", "-D", "FOREGROUND"]