Skip to content

I have to add a line to Dockerfile make it work: RUN npm add @babel/runtime #185

@fdojose

Description

@fdojose

Building from docker start up fails with a babel error.
I added this line to the Dockerfile and now runs:

RUN npm add @babel/runtime

Dockerfile:

FROM node:14.16.0
RUN npm install pm2
WORKDIR /src
COPY . .
RUN npm add @babel/runtime
RUN npm run setup
EXPOSE 3000

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions