* NPM update removed [because of breaking changes introduced in NPMv9](https://github.com/altair-viz/altair_saver/issues/113), NPMv8 is provided with container [by default](https://hub.docker.com/r/nikolaik/python-nodejs)

* Set `npm` to not go beyond v9 because of https://github.com/altair-viz/altair_saver/issues/113

v9 has a breaking change for our dependency

Co-authored-by: Aravind Nair <22199259+aravindvnair99@users.noreply.github.com>
This commit is contained in:
Alexander Sergeev
2023-01-12 22:56:59 +04:00
committed by GitHub
parent 34f9ec1070
commit d20e5f3760

View File

@@ -12,7 +12,7 @@ ENV PATH "$PATH:/home/root/.npm-global/bin"
RUN python -m pip install --upgrade pip wheel setuptools
RUN pip install -r requirements.txt
RUN npm -g config set user root
RUN npm i -g npm@latest
RUN npm i -g npm@next-8
RUN npm i -g vega vega-lite vega-cli canvas
ENTRYPOINT ["python", "/main.py"]