Upgrade pip, wheel & setuptools before installing

Signed-off-by: Aravind Nair <22199259+aravindvnair99@users.noreply.github.com>
This commit is contained in:
Aravind Nair
2021-04-07 14:24:58 +05:30
parent dd58fc822b
commit ba9133169a

View File

@@ -9,6 +9,7 @@ ADD translation.json /translation.json
ENV PATH "$PATH:/home/root/.npm-global/bin" ENV PATH "$PATH:/home/root/.npm-global/bin"
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 RUN npm i -g npm@latest