Skip to content

Commit da438f6

Browse files
committed
Update mapnik + node to http/2 compatible versions.
1 parent 95bd49e commit da438f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ RUN apt-get update; DEBIAN_FRONTEND="noninteractive" TZ="America/New_York" apt-g
99
#RUN wget -O /tmp/nodesource_setup.sh https://deb.nodesource.com/setup_6.x; bash /tmp/nodesource_setup.sh
1010
RUN apt-get install -y nodejs npm
1111
RUN npm install -g n
12-
RUN n 8.10.0
12+
RUN n 10.24.1
1313
RUN npm install -g yarn
1414
RUN mkdir -p /var/www; chown www-data:www-data /var/www
1515
USER www-data
1616
WORKDIR /var/www
1717
ADD package.json /var/www/package.json
18+
RUN npm install mapnik@4.0.0
1819
RUN npm install
1920
RUN yarn install; yarn cache clean
2021
ADD . /var/www

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"cors": "^2.5.2",
1414
"elasticsearch": "^12.0.1",
1515
"hashids": "^1.0.1",
16-
"hiredis": "^0.5.0",
1716
"kcors": "^2.2.0",
1817
"koa": "^2.0.0-alpha.7",
1918
"koa-adapter": "0.0.3",
@@ -23,7 +22,7 @@
2322
"koa-proxy": "^0.8.0",
2423
"koa-router": "^7.0.1",
2524
"lodash": "^4.17.1",
26-
"mapnik": "^3.7.1",
25+
"mapnik": "4.0.0",
2726
"morgan": "^1.7.0",
2827
"ngeohash": "^0.6.0",
2928
"redis": "^2.6.3",

0 commit comments

Comments
 (0)