Hi. I've installed this package and everything run smoothly in my local serve.
Unfortunately, when I build with Docker, I got
Below is my Dockerfile
FROM node:lts-alpine as build-stageWORKDIR /appCOPY package*.json ./RUN npm installCOPY . .RUN npm run build --prodFROM nginx:stable-alpine as production-stageCOPY --from=build-stage /app/dist /usr/share/nginx/htmlEXPOSE 80CMD ["nginx", "-g", "daemon off;"]
But after I uninstall this package, I was able to build with Docker again with no problem.
Hi. I've installed this package and everything run smoothly in my local serve. Unfortunately, when I build with Docker, I got
Below is my Dockerfile
FROM node:lts-alpine as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build --prod
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
But after I uninstall this package, I was able to build with Docker again with no problem.
Thanks in advance!