Dockerfile front end stage copies client side files only (#3924)

So that changing other files will not trigger the
very expensive rebuild process.
This commit is contained in:
Jianchao Yang
2019-06-23 01:33:52 -07:00
committed by Arik Fraimovich
parent a696fa55f3
commit a00c5a8857

View File

@@ -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