Dockerfile optimized

This commit is contained in:
Juan Ferrer 2019-01-08 18:51:41 +01:00
parent f68d788a81
commit 616cbb1076
1 changed files with 1 additions and 2 deletions

View File

@ -7,12 +7,11 @@ RUN apt-get update \
curl \
gnupg2 \
&& curl -sL https://deb.nodesource.com/setup_8.x | bash - \
&& apt-get install -y \
&& apt-get install -y --no-install-recommends \
nodejs \
&& rm -rf /var/lib/apt/lists/* \
&& npm -g install pm2
WORKDIR /salix
COPY package.json package-lock.json ./
COPY loopback/package.json loopback/