From 9d981827ac3e81b89032a379f283ca1971f495f1 Mon Sep 17 00:00:00 2001 From: Vitaly Slobodin Date: Tue, 2 Aug 2022 11:05:44 +0200 Subject: [PATCH] Use new syntax for installing global NPM deps --- Dockerfile.apollo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.apollo b/Dockerfile.apollo index 8932d06..19c37ff 100644 --- a/Dockerfile.apollo +++ b/Dockerfile.apollo @@ -3,7 +3,8 @@ FROM node:16.16-alpine3.16 RUN apk update \ && apk add --no-cache git -RUN npm install --global apollo@2.33.9 +RUN npm install --location=global npm \ + && npm install --location=global apollo@2.33.9 ENTRYPOINT ["apollo"] CMD ["--help"]