Skip to content

Commit

Permalink
fix(docker): update install command
Browse files Browse the repository at this point in the history
  • Loading branch information
DEgITx committed Nov 29, 2022
1 parent 4a2bcc7 commit 61ae1b8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]

0 comments on commit 61ae1b8

Please sign in to comment.