Merge pull request #93 from BretFisher/result-test-fix-and-node-update

updating result app node version and fixing tests
This commit is contained in:
Mano Marks 2017-11-21 13:34:59 -08:00 committed by GitHub
commit 5d9127d152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"]