From cbf278d78a79ae92dca6b9a65f9a4793f6353ba3 Mon Sep 17 00:00:00 2001 From: Fabian Untermoser Date: Tue, 10 Sep 2024 19:51:17 +0200 Subject: [PATCH] refactor(build): update command usage --- cms/Dockerfile | 2 +- cms/README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cms/Dockerfile b/cms/Dockerfile index d5d7989f..2280c96a 100644 --- a/cms/Dockerfile +++ b/cms/Dockerfile @@ -16,4 +16,4 @@ RUN chown -R node:node /opt/app USER node RUN ["npm", "run", "build"] EXPOSE 1337 -CMD ["npm", "run", "develop"] +CMD ["npm", "run", "dev"] diff --git a/cms/README.md b/cms/README.md index 879d89b9..2c495eda 100644 --- a/cms/README.md +++ b/cms/README.md @@ -2,14 +2,14 @@ Strapi comes with a full featured [Command Line Interface](https://docs.strapi.io/dev-docs/cli) (CLI) which lets you scaffold and manage your project in seconds. -### `develop` +### `dev` Start your Strapi application with autoReload enabled. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-develop) ``` -npm run develop +npm run dev # or -yarn develop +yarn dev ``` ### `start`