Files
editor/Dockerfile
Chris Sng 2812c72d96 - Added a Dockerfile to allow the editor to be served using docker containers
- Updated README with docker instructions
2016-11-09 22:08:38 +08:00

16 lines
195 B
Docker

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