angular / docker build / yarn.lock: file does not exist
Closed this issue · 1 comments
mhow2 commented
Expected behavior
docker-compose up
to build the images and start the containers.
Actual behavior
$ docker-compose up
Creating network "my-thai-star_my-thai-star" with driver "bridge"
Building angular
Step 1/15 : FROM node:lts AS build
---> 5d3b556415e2
Step 2/15 : WORKDIR /app
---> Using cache
---> ec719f881cc7
Step 3/15 : COPY package.json /app/package.json
---> Using cache
---> 801e6673dbef
Step 4/15 : COPY yarn.lock /app/yarn.lock
ERROR: Service 'angular' failed to build : COPY failed: file not found in build context or excluded by .dockerignore: stat yarn.lock: file does not exist
Steps to reproduce (bug) / Use Case of feature request (enhancement)
- clone &
docker-compose up
mhow2 commented
Cannot reproduce. Closing.