Docker container cant find DLL when run

Hi all,
I am having issues with running my docker containers, whenever I create a image and try to run a container I get these messages:
The command could not be loaded, possibly because:

Copy everything

COPY . ./

Restore as distinct layers

RUN dotnet restore

Build and publish a release

RUN dotnet publish -c Release -o out

Build runtime image

FROM mcr.microsoft.com/dotnet/aspnet:8.0@sha256:6c4df091e4e531bb93bdbfe7e7f0998e7ced344f54426b7e874116a3dc3233ff
WORKDIR /App
COPY --from=build-env /App/out .
ENTRYPOINT [“dotnet”, “DockerWSSO.dll”]

My DockerWSSO.dll is in “*\repos\DockerWSSO\DockerWSSO\bin\Release\net8.0\publish\DockerWSSO.dll”

I am using .net8.0

Any help would be highly appreciated


Please, format your post according to the following guide: How to format your forum posts
In short: please, use </> button to share codes, terminal outputs, error messages or anything that can contain special characters which would be interpreted by the MarkDown filter. Use the preview feature to make sure your text is formatted as you would expect it and check your post after you have sent it so you can still fix it.

Example code block:

```
echo "I am a code."
echo "An athletic one, and I wanna run."
```

When you are done with the formatting, please, post a new comment so people will be notified about the change.