From 61ae1b812402f35285cc25518439a88a9c900cf4 Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Tue, 29 Nov 2022 04:47:20 +0300 Subject: [PATCH] fix(docker): update install command --- Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 814aa596..61a50b9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,19 +1,13 @@ FROM node:16 - RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app - WORKDIR /home/node/app - COPY --chown=node:node . . - USER node -RUN npm install - +RUN npm install -g npm +RUN npm install --force RUN ls -la - RUN npm run buildweb EXPOSE 8095 - CMD [ "node", "src/background/server.js" ] \ No newline at end of file