Skip to content

Commit

Permalink
Dockerfile front end stage copies client side files only
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 committed Jun 21, 2019
1 parent 27259b5 commit e067cde
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 e067cde

Please sign in to comment.