dockerfile 102 B

12345678
  1. FROM node:18
  2. RUN mkdir /opt/app
  3. ADD ./ /opt/app
  4. WORKDIR /opt/app
  5. CMD yarn && yarn start
  6. EXPOSE 3000