From 00dd030ee2ed56ed08c7c87fe243a12240d5c9f1 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Thu, 27 Apr 2023 17:54:30 +1200 Subject: [PATCH] Change to npm from yarn --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1b9127e1b..67b42b9dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,11 +10,11 @@ WORKDIR /usr/src/app # This improves caching so we don't have to download the dependencies every time the code changes COPY package.json ./ # --ignore-scripts tells yarn not to run postbuild. We run it explicitly later -RUN yarn install --ignore-scripts +RUN npm install --ignore-scripts # Bundle app source and build application COPY . . -RUN yarn build +RUN npm run build EXPOSE 8000 -CMD [ "yarn", "start" ] +CMD [ "npm", "start" ]