wnabil / ngx-export-as

Angular 2+ / Ionic 2+ HTML/table element to export it as JSON, XML, PNG, CSV, TXT, MS-Word, Ms-Excel, PDF
MIT License
68 stars 40 forks source link

Issue when building with Docker #86

Closed syfqpipe closed 3 years ago

syfqpipe commented 4 years ago

Hi. I've installed this package and everything run smoothly in my local serve. Unfortunately, when I build with Docker, I got

Screenshot 2020-10-15 at 5 27 46 PM

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!

wnabil commented 3 years ago

please try 1.12.1 and reopen if the issue not fixed