From ea2091ca387d32b926769abb76e8fd138f0b68f9 Mon Sep 17 00:00:00 2001 From: Vitaly Slobodin Date: Fri, 10 Dec 2021 08:33:09 +0300 Subject: [PATCH] Switch to npm for building apollo container We saw several OOM errors and we suspect this happens due to a bug in Yarn when it stucks in endless loop on linking dependencies. --- Dockerfile.apollo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.apollo b/Dockerfile.apollo index 22f338c..738fae6 100644 --- a/Dockerfile.apollo +++ b/Dockerfile.apollo @@ -3,7 +3,7 @@ FROM node:14.18-alpine3.14 RUN apk update \ && apk add --no-cache git -RUN yarn global add apollo@2.33.9 +RUN npm install --global apollo@2.33.9 ENTRYPOINT ["apollo"] CMD ["--help"]