updating node versions and fixing result tests

This commit is contained in:
Bret Fisher 2017-11-21 04:35:01 -05:00
parent f5a84ab40f
commit 9fa3e4360f
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 WORKDIR /app

View File

@ -1,5 +1,11 @@
FROM node FROM node:8.9-slim
RUN npm install -g phantomjs 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 ADD . /app
WORKDIR /app WORKDIR /app
CMD ["/app/tests.sh"] CMD ["/app/tests.sh"]