FROM node:lts
USER node
WORKDIR /home/node/.npm
WORKDIR /home/node/app
COPY . .
RUN npm install
RUN npm run build
RUN npm run build:fontawesome
EXPOSE 5000
CMD ["npm", "run", "start"]