From: Mart Lubbers Date: Mon, 10 Oct 2016 17:05:49 +0000 (+0200) Subject: Add Dockerfile X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=4afc89b544375cc79f1c5e61e40b878660fb0f98;p=ssproject1617.git Add 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"]