ssdug / CVPZ

GNU General Public License v3.0
16 stars 18 forks source link

docker-compose up fails #19

Closed NotMyself closed 7 years ago

NotMyself commented 7 years ago

When running docker-compose up, I get the following error. This could also be causing the Release CI build to fail. It has been disabled until we get this resolved.

C:\src\github\CVPZ [master ≡]> docker-compose.exe up
Creating network "cvpz_default" with the default driver
Building projects.api
Step 1/6 : FROM microsoft/aspnetcore:1.1
1.1: Pulling from microsoft/aspnetcore
693502eb7dfb: Pull complete
8fabf291b644: Pull complete
18885b0cc90b: Pull complete
a5edcabf023f: Pull complete
b4300fcff52c: Pull complete
Digest: sha256:72d4dadc7ee45f3a794a15a0642cc014fd75ca27c2e502c2d59719adea8300fd
Status: Downloaded newer image for microsoft/aspnetcore:1.1
 ---> 323bfc630f6a
Step 2/6 : ARG source
 ---> Running in f2683c545584
 ---> a823935addf9
Removing intermediate container f2683c545584
Step 3/6 : WORKDIR /app
 ---> 54042dfd29df
Removing intermediate container d10b833258ba
Step 4/6 : EXPOSE 80
 ---> Running in cedeaaf93d4a
 ---> caed3d6ee477
Removing intermediate container cedeaaf93d4a
Step 5/6 : COPY ${source:-obj/Docker/publish} .
ERROR: Service 'projects.api' failed to build: lstat obj/Docker/publish: no such file or directory
fcoldren commented 7 years ago

Using the same path to CVPZ as in the comment above, carry out the following steps to launch the CVPZ containers:

cd C:\src\github\CVPZ docker-compose -f docker-compose.ci.build.yml up docker-compose up

Documentation from the eShop example

NotMyself commented 7 years ago

Confirmed this worked for me locally.