diff --git a/examples/with-docker/Dockerfile.multistage b/examples/with-docker/Dockerfile.multistage index ebf28bf6..937a0c09 100644 --- a/examples/with-docker/Dockerfile.multistage +++ b/examples/with-docker/Dockerfile.multistage @@ -4,7 +4,7 @@ WORKDIR /app COPY package.json . RUN yarn install COPY . . -RUN yarn build +RUN yarn build && yarn --production # And then copy over node_modules, etc from that stage to the smaller base image FROM mhart/alpine-node:base diff --git a/examples/with-docker/package.json b/examples/with-docker/package.json index d309591c..58bde347 100644 --- a/examples/with-docker/package.json +++ b/examples/with-docker/package.json @@ -11,5 +11,8 @@ "react": "16.2.0", "react-dom": "16.2.0" }, + "devDependencies": { + "isomorphic-unfetch": "^3.0.0" + }, "license": "ISC" }