FROM node:16 USER node WORKDIR /home/node/app COPY --chown=node:node package*.json ./ COPY --chown=node:node . . RUN npm install RUN npm run build RUN npm run build:fontawesome EXPOSE 5000 CMD ["npm", "start", "--loglevel=verbose"]