diff options
author | root <root@cband> | 2014-01-14 08:42:22 -0600 |
---|---|---|
committer | root <root@cband> | 2014-01-14 08:42:22 -0600 |
commit | b9d3ac29f93550cb0eebe9f95d3a2d042838abe7 (patch) | |
tree | 3b10ca04dbdfd5f577c1c43e40a32ad028ec5137 /sites/mediengewitter.krebsco.de/mediengewitter/Dockerfile | |
parent | cf8ff0d37ad9a5864699814c69a73433661bae54 (diff) |
add mediengewitter
Diffstat (limited to 'sites/mediengewitter.krebsco.de/mediengewitter/Dockerfile')
-rw-r--r-- | sites/mediengewitter.krebsco.de/mediengewitter/Dockerfile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sites/mediengewitter.krebsco.de/mediengewitter/Dockerfile b/sites/mediengewitter.krebsco.de/mediengewitter/Dockerfile new file mode 100644 index 00000000..dbfb2a8b --- /dev/null +++ b/sites/mediengewitter.krebsco.de/mediengewitter/Dockerfile @@ -0,0 +1,17 @@ +FROM ubuntu:latest +RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list +RUN dpkg-divert --local --rename --add /sbin/initctl +RUN ln -s /bin/true /sbin/initctl +RUN apt-get update +RUN apt-get install -y python-software-properties python g++ make +RUN add-apt-repository -y ppa:chris-lea/node.js +RUN apt-get update +RUN apt-get -y install nodejs +Add mediengewitter/ /mediengewitter +RUN cd /mediengewitter && npm install +# -v /media/ext/magnet_pics/:/images +EXPOSE 8080 +ENV PORT 8080 +RUN rm /mediengewitter/public/content -r +RUN ln -s /images /mediengewitter/public/content +CMD ["/mediengewitter/run.sh"] |