Skip to content

[QUESTION] dockerfile command may need run yarn start not yarn build-and-start? #1543

@lee88688

Description

@lee88688

Question

in Dockerfile, this has run yarn build

RUN yarn build --mode production

why is there need another build in start command in yarn build-and-start
CMD [ "yarn", "build-and-start" ]

I override command using yarn start which works too, so there is some feature I discover?

Category

Setup and Deployment

Please tick the boxes

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚰️ Stale[ISSUE] [PR] No activity for over 1 month🤷‍♂️ Question[ISSUE] Further information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions