bzp2010 commented on issue #155: Docker support & pass env when building URL: https://github.com/apache/incubator-apisix-dashboard/issues/155#issuecomment-614437952 I write a Dockerfile for test, I found that if the `node_modules` were packed into the image during the build process, the image file would be too large, about 1.3GB. I think there are two ways to solve this problem - Write a bash script to transfer the `npm install` process to the `docker run` process - In the process of building the image, `npm install` is performed, and then the dashboard is compiled and packaged to generate the files for deployment, and the nginx driver is used to access them and delete the node_modules after packaging I hope to get some suggestions. THX
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
