Commit 4cf90829 authored by TOUZE Francois's avatar TOUZE Francois
Browse files

install Node.js and npm on Ubuntu

parent 1e442d83
...@@ -19,9 +19,7 @@ RUN cd home \ ...@@ -19,9 +19,7 @@ RUN cd home \
# Install controller package # Install controller package
RUN cd home/pspa/controller \ RUN cd home/pspa/controller \
&& apt-get install -y python3-dev \ && apt-get install -y python3-dev python3-pip \
python3-venv \
python3-pip \
&& pip3 install -r requirements.txt \ && pip3 install -r requirements.txt \
&& cd cython-cpp \ && cd cython-cpp \
&& python3 pspaclass.py build_ext --inplace \ && python3 pspaclass.py build_ext --inplace \
...@@ -29,6 +27,8 @@ RUN cd home/pspa/controller \ ...@@ -29,6 +27,8 @@ RUN cd home/pspa/controller \
# Install frontend package # Install frontend package
RUN cd home/pspa/frontend \ RUN cd home/pspa/frontend \
&& apt-get install -y npm \ && apt-get install -y curl sudo \
&& curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - \
&& apt-get install -y nodejs \
&& npm install && npm install
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment