updating node versions and fixing result tests

This commit is contained in:
Bret Fisher 2017-11-21 13:48:10 -05:00
parent a58579e442
commit ddd39f1699
2 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM node:5.11.0-slim
FROM node:8.9-slim
WORKDIR /app

View File

@ -1,5 +1,11 @@
FROM node
RUN npm install -g phantomjs
FROM node:8.9-slim
RUN apt-get update -qq && apt-get install -qy \
ca-certificates \
bzip2 \
curl \
libfontconfig \
--no-install-recommends
RUN yarn global add phantomjs-prebuilt
ADD . /app
WORKDIR /app
CMD ["/app/tests.sh"]