From 06df1bac0e5c4f860091c5b75f4b7b0eb0863ab7 Mon Sep 17 00:00:00 2001 From: Aravind Nair <22199259+aravindvnair99@users.noreply.github.com> Date: Fri, 4 Feb 2022 19:53:03 +0530 Subject: [PATCH 1/4] Upgrade to Node.js 16 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c3d6754..78eef7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nikolaik/python-nodejs:python3.8-nodejs15 +FROM nikolaik/python-nodejs:python3.8-nodejs16 ADD requirements.txt /requirements.txt ADD main.py /main.py From 8ab39f26a2fd5a9868487368ab5563f867a93207 Mon Sep 17 00:00:00 2001 From: Aravind Nair <22199259+aravindvnair99@users.noreply.github.com> Date: Fri, 4 Feb 2022 19:58:10 +0530 Subject: [PATCH 2/4] Remove dependency install of `agentkeepalive` --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 78eef7c..b9af525 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,6 @@ 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 agentkeepalive npm@latest vega vega-lite vega-cli canvas +RUN npm i -g npm@latest vega vega-lite vega-cli canvas ENTRYPOINT ["python", "/main.py"] From 196ff5af5a03a58aaae67d67e3329c691c325764 Mon Sep 17 00:00:00 2001 From: Aravind Nair <22199259+aravindvnair99@users.noreply.github.com> Date: Fri, 4 Feb 2022 19:59:07 +0530 Subject: [PATCH 3/4] Fix `npm` running on older version --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b9af525..71da6af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +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 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"] From ff83c8a20497f021f37ee022f305358af294bdca Mon Sep 17 00:00:00 2001 From: Aravind Nair <22199259+aravindvnair99@users.noreply.github.com> Date: Fri, 4 Feb 2022 20:42:43 +0530 Subject: [PATCH 4/4] Upgrade to Python 3.9 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 71da6af..97a2f18 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nikolaik/python-nodejs:python3.8-nodejs16 +FROM nikolaik/python-nodejs:python3.9-nodejs16 ADD requirements.txt /requirements.txt ADD main.py /main.py