optimizing dockerfile

This commit is contained in:
buanet
2019-04-29 15:43:14 +02:00
parent 40abbca1a1
commit fdb68d7ca8

View File

@@ -25,8 +25,8 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
# Install node8
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash
RUN apt-get update && apt-get install -y \
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash \
&& apt-get update && apt-get install -y \
nodejs \
&& rm -rf /var/lib/apt/lists/*