Combine two docker images to prevent docker inside docker

前端 未结 0 1535
清歌不尽
清歌不尽 2021-01-27 12:50

I\'ve got a nodejs server inside docker:

FROM node:12

WORKDIR /app

COPY package.json /app

RUN yarn install

COPY . /app

EXPOSE 8080
CMD [ \"yarn\", \"start\"         


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