Skip to content

Commit

Permalink
Dockerfile front end stage copies client side files only (#3924)
Browse files Browse the repository at this point in the history
So that changing other files will not trigger the
very expensive rebuild process.
  • Loading branch information
ktmud authored and arikfr committed Jun 23, 2019
1 parent a696fa5 commit a00c5a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ WORKDIR /frontend
COPY package.json package-lock.json /frontend/
RUN npm install

COPY . /frontend
COPY client /frontend/client
COPY webpack.config.js /frontend/
RUN npm run build

FROM redash/base:debian
Expand Down

0 comments on commit a00c5a8

Please sign in to comment.