46 Replies
Server.Dockerfile
docker-compose.yml
and when i try to i get this error
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
my friend and chat gpt already fixed it, but neither me nor my friend didnt understand how
so this is link to the commit that contains the problem https://github.com/zhurak-v/essential-shop/tree/4c923c8ae44ea91ce9500919b528a22c6c1e0eb3
and this is fixed Dockerfile
idk, it looks same but without server folder in projects when copying, can u help me understand what changed?
and the link prolly to private repo, but it does not matter because problem in dockerfile
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
i showed folder structure so it doesnt matter i think, it was just dockerfile
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
alr im on it
GitHub
GitHub - TarasKo444/temp
Contribute to TarasKo444/temp development by creating an account on GitHub.
there is nothing really to be private, its just project that me and my friend have started
it breaks when you add server/ folder when copying in dockefile but i dont understand why
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
yea i have the same when i swap COPY and WORKDIR lines
i did the order (WORKDIR than COPY ) as said here https://stackoverflow.com/questions/52991469/getting-program-does-not-contain-a-static-main-method-suitable-for-an-entry-p
Stack Overflow
Getting "Program does not contain a static 'Main' method suitable f...
I'm running into an issue using Docker and couldn't find a proper solution.
I'm trying to build a Docker image using .NET SDK 2.1.
The thing is that when Docker tries to run the build statement, it...
but it lead to this error
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
btw its weird stuff going on here, you can see folders like this
/src/server/Essential/Essential.Web/Essential/Essential.Domain/
/src/server/Essential/Essential.Web/Essential/Essential.Infrastructure/
/src/server/Essential/Essential.Web/Essential/Essential.Web
which is obviously wrong
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
but changing the order doesnt help
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
yeah it was generated so i just left it
alr thanks for advice
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
i was trying to do but it just printed nothing
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
ahh that helpful
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
so overall was it dockers bug or i just messed up with path
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
because im trying to understand whats going on in that dockerfile and why do we have that csproj out nowhere
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
yea makes sense
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
:skillissue:
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
what could be wierd?
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
yea I get it, thats why i added COPY for all Class Library projects
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
yea this one works well too
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
well, thanks, now I better understand docker 🥰
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
If you have no further questions, please use /close to mark the forum thread as answered
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View