How do I make yarn cache modules when building containers?

后端 未结 0 1392
死守一世寂寞
死守一世寂寞 2021-01-27 13:07

This is my Dockerfile for local development:

FROM node:12-alpine

WORKDIR /usr/app

ENV __DEV__ 1

COPY package.json ./
COPY yarn.lock ./
RUN yarn --         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题