- Added a Dockerfile to allow the editor to be served using docker containers

- Updated README with docker instructions
This commit is contained in:
Chris Sng
2016-11-09 22:08:38 +08:00
parent 3b83c39ac9
commit 2812c72d96
2 changed files with 36 additions and 1 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM nodesource/xenial:6.1.0
EXPOSE 8888
ENV HOME /maputnik
RUN mkdir ${HOME}
COPY . ${HOME}/
WORKDIR ${HOME}
RUN npm install -d --dev
RUN npm run build
CMD npm run start -- --host 0.0.0.0