Skip to content

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

Open
@lamartinezt-indra

Description

@lamartinezt-indra

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"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions