Skip to content

Commit

Permalink
Fix #337
Browse files Browse the repository at this point in the history
* NPM update removed [because of breaking changes introduced in NPMv9](altair-viz/altair_saver#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 altair-viz/altair_saver#113

v9 has a breaking change for our dependency

Co-authored-by: Aravind Nair <[email protected]>
  • Loading branch information
pseusys and aravindvnair99 authored Jan 12, 2023
1 parent 34f9ec1 commit d20e5f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit d20e5f3

Please sign in to comment.