I am trying to run my Single spa micro app in a docker. My existing docker file is
FROM node:18-alpine
WORKDIR /app
COPY package.json .
RUN npm install
COPY . .
EXPOSE 8001
CMD ["npm","run", "start:standalone"]
The above dockerfile will be running the development code but I want to run the code from dist/ folder
But since I don’t have any index.html as it is a micro app, how do I write the docker script to serve the app in prod.
PS: I did go through the documentation but no luck there