Fix npm running on older version

This commit is contained in:
Aravind Nair
2022-02-04 19:59:07 +05:30
committed by GitHub
parent 8ab39f26a2
commit 196ff5af5a

View File

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