diff --git a/Dockerfile b/Dockerfile index cf5f6df..abe9b6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,10 +7,10 @@ WORKDIR /.npm RUN chown -R 1000660000:0 "/.npm" RUN chown -R 1000:1000 "/home/node/app/.npm" WORKDIR /home/node/app -USER node COPY --chown=node:node . . RUN npm config set cache /home/node/app/.npm/ RUN npm install EXPOSE 5000 +USER node CMD ["npm", "run", "dev"]