diff --git a/result/Dockerfile b/result/Dockerfile index d736db9..9ddc77b 100644 --- a/result/Dockerfile +++ b/result/Dockerfile @@ -1,4 +1,4 @@ -FROM node:5.11.0-slim +FROM node:8.9-slim WORKDIR /app diff --git a/result/tests/Dockerfile b/result/tests/Dockerfile index bca8c51..cb5a5eb 100644 --- a/result/tests/Dockerfile +++ b/result/tests/Dockerfile @@ -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"]