My apps have many micro front-end in react and many back end in node. I create Create a Dockerfile to build Docker images for all the micro parts. How will I run all the micro parts on Linux Server?
I find an example where httpd image is used and the public html is loaded to the container usr/local/apache2/htdocs. I don't have html file in my React Micro front-end. I need other suggestion or reference git or link.
I try to create a Dockerfile for Httpd at the root level as below, but the build felt to access the dist.
FROM httpd:2.4 COPY app/myappfolder/micro-fronEnd1/dist /usr/local/apache2/htdocs/ COPY app/myappfolder/micro-fronEnd2/dist /usr/local/apache2/htdocs/
for instance under app/myappfolder/micro-fronEnd1/ on the linux server, I have all part of the micro(node_modules,dist, test,package.json...)