From a6337e9cba08771471a24f87fbb07082b249132e Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Sat, 15 Jan 2022 01:48:55 -0500 Subject: [PATCH] Use npm in Dockerfile rather than yarn --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a5854af..3977cd2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,12 +4,12 @@ LABEL authors="Lachlan Kermode " # Install app dependencies COPY package.json /www/package.json -RUN cd /www; yarn +RUN cd /www; npm install # Copy app source COPY . /www WORKDIR /www -RUN yarn build +RUN npm run build RUN mkdir -p data # set your port @@ -17,4 +17,4 @@ ENV PORT 4040 EXPOSE 4040 # start command as per package.json -CMD ["yarn", "start"] +CMD ["npm", "start"]