fix(docker): more fixes

This commit is contained in:
Alexey Kasyanchuk 2022-11-29 05:00:25 +03:00
parent de79321c5f
commit 411db7ba1f

View File

@ -3,9 +3,9 @@ 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 . .
RUN sudo npm install -g npm
USER node
RUN sudo npm install -g npm
RUN npm install --force
RUN ls -la
RUN npm run buildweb