FROM node:latest
WORKDIR /home/node/app/
RUN echo "test"
COPY . .
RUN yarn
CMD yarn migrate:latest # applies the latest migration
CMD yarn start # start the app
위 Dockerfile 이 있다고 가정하자
현 directory 에 Dockerfile 이 있다고 하고
docker build -t kyle:test .
하면 어떤 현상이 일어나나?
댓글 0