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