ant-design-vue-nuxt icon indicating copy to clipboard operation
ant-design-vue-nuxt copied to clipboard

ERROR EMFILE: too many open files, open '<FILE>'

Open lamartinezt-indra opened this issue 5 months ago • 0 comments

When trying to build the Nuxt application with ant-design the following error appears: ERROR EMFILE: too many open files, open '/app/.output/server/node_modules/@ant-design/icons-svg/lib/asn/ChromeFilled.js'

This is my Dockerfile

FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build

FROM node:20-alpine AS runner
WORKDIR /app
COPY --from=builder /app/.output /app/.output
EXPOSE 3000
CMD ["node", ".output/server/index.mjs"]

lamartinezt-indra avatar Sep 13 '24 22:09 lamartinezt-indra