mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
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:
committed by
Arik Fraimovich
parent
a696fa55f3
commit
a00c5a8857
@@ -4,7 +4,8 @@ WORKDIR /frontend
|
|||||||
COPY package.json package-lock.json /frontend/
|
COPY package.json package-lock.json /frontend/
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
COPY . /frontend
|
COPY client /frontend/client
|
||||||
|
COPY webpack.config.js /frontend/
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM redash/base:debian
|
FROM redash/base:debian
|
||||||
|
|||||||
Reference in New Issue
Block a user