Skip to content

Commit

Permalink
Merge pull request #319 from CartoDB/318-Install_mapshaper_bigmetadat…
Browse files Browse the repository at this point in the history
…a_Docker

Install mapshaper in the bigmetadata Docker image
  • Loading branch information
Javier Torres committed Sep 21, 2017
2 parents e7871fb + 05993e5 commit 6244e1c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ RUN apt-get -yq remove python-pip && apt-get clean
RUN easy_install pip
RUN pip install --upgrade -r /bigmetadata/requirements.txt

RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
RUN apt-get install nodejs
RUN npm install -g mapshaper

EXPOSE 8082

WORKDIR /bigmetadata
Expand Down
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
"links": [
"redis:localhost"
],
"privileged": true
"privileged": true,
"ports": [
"5554:5432"
]
},
"nginx": {
"image": "nginx:latest",
Expand Down

0 comments on commit 6244e1c

Please sign in to comment.