Merge pull request #540 from FunTimeCoding/master
fixed outdated Dockerfile
This commit is contained in:
commit
4e38284579
18
Dockerfile
18
Dockerfile
@ -1,15 +1,13 @@
|
|||||||
# Dockerfile for StackEdit
|
FROM debian:jessie
|
||||||
|
|
||||||
FROM shykes/nodejs
|
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get upgrade
|
RUN apt-get upgrade -yq
|
||||||
|
RUN apt-get install -yq git nodejs-legacy npm
|
||||||
RUN apt-get install -y git-core
|
|
||||||
|
|
||||||
RUN git clone https://github.com/benweet/stackedit.git
|
RUN git clone https://github.com/benweet/stackedit.git
|
||||||
|
|
||||||
RUN (cd /stackedit/ && npm install)
|
WORKDIR stackedit
|
||||||
EXPOSE 3000
|
RUN npm install
|
||||||
|
RUN node_modules/bower/bin/bower install --allow-root --production --config.interactive=false
|
||||||
|
CMD nodejs server.js
|
||||||
|
|
||||||
CMD (cd /stackedit/ && node server.js)
|
EXPOSE 3000
|
||||||
|
Loading…
Reference in New Issue
Block a user