fix(docker): update install command
This commit is contained in:
parent
7ce5118f15
commit
b611e9fed3
10
Dockerfile
10
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" ]
|
Loading…
Reference in New Issue
Block a user