microservices-aspnetcore / teamservice

17 stars 23 forks source link

Can't locate docker_entrypoint.sh #1

Open asadikhan opened 5 years ago

asadikhan commented 5 years ago

I followed your example and have it all working up to pushing into docker hub. However, it can't locate the docker_entrypoint.sh at all. This is my deploy snippet from the wercker.xml. The only difference between mine and yours is that I am using box: microsoft/dotnet:2.1.403-sdk while you are using 1.1.x. Has the location of this file changed or what?

deploy: steps:

I tried changing /pipeline/source/app/ to /usr/local/bin/. I tried adding the following under deploy steps above internal-docker-push.

- script:
    name: enable 
    code : |
      chmod +x /pipeline/source/app/docker_entrypoint.sh 

Same results. It can't find the file to even apply the permissions. Do you know how to bypass this issue?

asadikhan commented 5 years ago

Aah I modified my wercker file as follows (after creating the docker_entrypoint.sh manually) and now when I run the image, it exits rather than listening on port 8080.

box: microsoft/dotnet:2.1.403-sdk no-response-timeout: 10 build: steps: