FROM node:latest

RUN mkdir /usr/src/app
WORKDIR /usr/src/app

COPY package.json /package.json

RUN yarn install 
COPY ./ ./

CMD yarn start
FROM node:latest

RUN mkdir /usr/src/app
WORKDIR /usr/src/app

COPY package.json yarn.lock ./

RUN yarn install 
COPY ./ ./

CMD yarn start
Add lock file to container
Add lock file to container
