mirror of
https://github.com/maputnik/editor.git
synced 2025-12-06 06:10:00 +00:00
- Added a Dockerfile to allow the editor to be served using docker containers
- Updated README with docker instructions
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user