yamyamyuo edited a comment on issue #5068: Add 24 hours refresh for dashboard URL: https://github.com/apache/incubator-superset/pull/5068#issuecomment-418629986 I have copy some of the code from Dockerfile, ignore the number in the front of each line Hope this could do some help, this works in my production release. ### Steps of code - install nodejs, yarn, npm - modify your frontend code - cd superset/assets && yarn && npm run build `# Install nodejs for custom build 48 # https://nodejs.org/en/download/package-manager/ 49 RUN curl -sL https://deb.nodesource.com/setup_9.x | bash - 50 RUN apt-get update && apt-get install -y nodejs 51 RUN npm install -g yarn 53 RUN ls ${SUPERSET_ASSETS_DIR} 54 COPY ./lls_superset_build/package.json ${SUPERSET_ASSETS_DIR}/package.json # i have modify something here RUN cd ${SUPERSET_ASSETS_DIR} && yarn 61 RUN cd ${SUPERSET_ASSETS_DIR} && yarn list webpack #### compile the frontend 49 # https://github.com/apache/incubator-superset/blob/master/docs/installation.rst#making-your-own-build 50 RUN cd ${SUPERSET_ASSETS_DIR} && yarn 51 # RUN cd ${SUPERSET_ASSETS_DIR} && yarn list webpack 56 RUN cd ${SUPERSET_ASSETS_DIR} && yarn list 58 RUN cd ${SUPERSET_ASSETS_DIR} && npm run build `
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
