Docker Community Forums

Share and learn in the Docker community.

Unable to Create a docker image

Getting error while creating image .
I am using .net core 3.1, VS 2019 and Windows 10
I am attaching my project file . Please help me on this.

Below is my docker file command.


FROM mcr.microsoft.com/dotnet/core/sdk:3.1-nanoserver-1809 AS build
WORKDIR /Abinash/Interview/Microservices/DockerASPAppication/LatestCoreAppForDocker

COPY . .
RUN dotnet build -c Release
ENTRYPOINT [“dotnet”, “LatestCoreAppForDocker.dll”]

Hi,
Were you able to fix this issue? I am facing the same issue during dotnet restore.