Stackedit/Dockerfile

14 lines
327 B
Docker
Raw Normal View History

2014-09-21 14:11:01 +00:00
FROM debian:jessie
2013-11-06 22:42:48 +00:00
RUN apt-get update
2014-09-21 14:11:01 +00:00
RUN apt-get upgrade -yq
RUN apt-get install -yq git nodejs-legacy npm
2013-11-06 22:42:48 +00:00
RUN git clone https://github.com/benweet/stackedit.git
2014-09-21 14:11:01 +00:00
WORKDIR stackedit
RUN npm install
RUN node_modules/bower/bin/bower install --allow-root --production --config.interactive=false
CMD nodejs server.js
2013-11-06 22:42:48 +00:00
2014-09-21 14:11:01 +00:00
EXPOSE 3000