summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fd94ec1)
Change-Id: Ica1150cb1f85e9706d2259904fd5ddc483b48754
Signed-off-by: fonsecaj <jpedrofonseca@av.it.pt>
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y curl \
software-properties-common \
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y curl \
software-properties-common \
git \
python-pip \
nginx \
git \
python-pip \
nginx \
mysql-client \
libssl-dev \
apt-utils \
mysql-client \
libssl-dev \
apt-utils \
- && DEBIAN_FRONTEND=noninteractive apt-get install -y npm
+ && curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
+ && echo "deb https://deb.nodesource.com/node_10.x bionic main" | tee -a /etc/apt/sources.list.d/nodesource.list \
+ && echo "deb-src https://deb.nodesource.com/node_10.x bionic main" | tee -a /etc/apt/sources.list.d/nodesource.list \
+ && apt-get update \
+ && DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs
+
+RUN node -v
+RUN npm -v
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
RUN echo "daemon off;" >> /etc/nginx/nginx.conf