clean up apt-cache in webui/Dockerfile

This commit is contained in:
Attilio Borello 2017-05-10 09:33:41 +02:00 committed by Fernandez Ludovic
parent bdf4f48d78
commit c19432f95c

View file

@ -7,7 +7,8 @@ RUN apt-get -yq update \
&& apt-get -yq --no-install-suggests --no-install-recommends --force-yes install apt-transport-https \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& apt-get -yq update && apt-get -yq --no-install-suggests --no-install-recommends --force-yes install yarn
&& apt-get -yq update && apt-get -yq --no-install-suggests --no-install-recommends --force-yes install yarn \
&& rm -fr /var/lib/apt/lists/
COPY package.json $WEBUI_DIR/
COPY yarn.lock $WEBUI_DIR/