Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions