ant-design-vue-nuxt
ant-design-vue-nuxt copied to clipboard
ERROR EMFILE: too many open files, open '<FILE>'
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"]