Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Followers 0
Login Register as User

Docker Error: failed to solve with frontend dockerfile.v0: failed to create LLB definition: the Dockerfile cannot be empty

08.03.2023 (👁208)


Solution: first save the file with ctrl+s and then run docker build

Ein Bild, das Text, Screenshot, Monitor, schwarz enthält.

Automatisch generierte Beschreibung


Dockerfile oder myfile.docker für Asp .Net 7 Web API

FROM AS build-env



COPY *.csproj ./

RUN dotnet restore


COPY . ./

RUN dotnet publish -c Release -o out




COPY --from=build-env /app/out .


ENTRYPOINT [ "dotnet","PlatformService.dll" ]