Skip to content

Commit

Permalink
fix(docker): fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
DEgITx committed Nov 29, 2022
1 parent 61ae1b8 commit 4340763
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM node:16
ARG DEBIAN_FRONTEND=noninteractive
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 -g npm
RUN sudo npm install -g npm
RUN npm install --force
RUN ls -la
RUN npm run buildweb
Expand Down

0 comments on commit 4340763

Please sign in to comment.