Use new syntax for installing global NPM deps

This commit is contained in:
Vitaly Slobodin 2022-08-02 11:05:44 +02:00
parent fd1d2f6191
commit 9d981827ac

View file

@ -3,7 +3,8 @@ FROM node:16.16-alpine3.16
RUN apk update \ RUN apk update \
&& apk add --no-cache git && 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"] ENTRYPOINT ["apollo"]
CMD ["--help"] CMD ["--help"]