FROM node:18.12.1 #create app directory RUN mkdir -p /usr/src/app WORKDIR /usr/src/app #installing the dependencies COPY package*.json ./ RUN npm install #copying source files COPY . . CMD ["yarn","dev"]