Skip to content

failed to calculate checksum of ref #4716

Answered by mthalman
netsurion-jsayre asked this question in Q&A
Discussion options

You must be logged in to vote

What is your current working directory when executing the docker build command? That is the directory that you are setting as your build context, via the . character at the very end of your command arguments. And that means any COPY instructions in your Dockerfile are relative to that directory. So that directory should contain the aspnetapp directory that you reference in COPY aspnetapp/*.csproj .. If you want to specify a different directory as your build context, you should replace the . in your docker build command with the path that you do want.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@netsurion-jsayre
Comment options

Answer selected by netsurion-jsayre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants