RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY ./src/package.json /usr/src/app/
RUN npm install && npm cache clean --force
COPY ./src /usr/src/app
ENV NODE_ENV production
ENV PORT 80
EXPOSE 80

CMD [ "npm", "start" ]