Skip to content

Commit

Permalink
Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
anandthakker committed Aug 13, 2016
1 parent 697a5f6 commit 9ece26e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .dockerignore
@@ -0,0 +1,2 @@
data
node_modules
13 changes: 13 additions & 0 deletions Dockerfile
@@ -0,0 +1,13 @@
FROM node:5
ENV NPM_CONFIG_LOGLEVEL warn

# Get tippecanoe
RUN apt-get install -y libsqlite3-dev && git clone https://github.com/mapbox/tippecanoe.git && cd tippecanoe && make && make install

WORKDIR /workdir
ADD package.json /workdir/package.json
RUN npm install

ADD . /workdir

ENTRYPOINT /bin/bash
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build-docker": "docker build -t developmentseed/skynet-data ."
},
"keywords": [],
"author": "Anand Thakker <vestibule@anandthakker.net> (http://anandthakker.net/)",
Expand Down

0 comments on commit 9ece26e

Please sign in to comment.