From 4afc89b544375cc79f1c5e61e40b878660fb0f98 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Mon, 10 Oct 2016 19:05:49 +0200 Subject: [PATCH] Add Dockerfile --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9888d25 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +# Bouw met: docker build -t ssapache . +# Run met: docker run --name ssapache -d -p 80:80 -p 3306:3306 ssapache +# MySQL inloggegevens zijn root zonder wachtwoord +FROM tutum/lamp:latest +RUN rm -fr /app +COPY ./testcms-final-anon /app +RUN chown -R www-data:www-data /app +EXPOSE 80 3306 +CMD ["/run.sh"] -- 2.20.1