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.
This commit is contained in:
Vitaly Slobodin 2021-12-10 08:33:09 +03:00
parent 4d24d0dfb8
commit ea2091ca38

View file

@ -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"]