Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Optimize docker layer caching #114

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ FROM node:8.9.0

WORKDIR /fusion-cli

COPY package.json yarn.lock /fusion-cli/

RUN apt-get update && apt-get install -y wget --no-install-recommends \
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
Expand All @@ -13,4 +11,6 @@ RUN apt-get update && apt-get install -y wget --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /src/*.deb

COPY package.json yarn.lock /fusion-cli/

RUN yarn