Dockerfile optimized
This commit is contained in:
parent
f68d788a81
commit
616cbb1076
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue