Try to run CD jobs 🐛🐛
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
a786b4c071
commit
5def181a5d
@ -0,0 +1,11 @@
|
|||||||
|
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
|
||||||
|
WORKDIR /
|
||||||
|
COPY Verax_API_EF/ Verax/
|
||||||
|
RUN cd Verax/
|
||||||
|
RUN dotnet restore Verax_API_EF.sln
|
||||||
|
RUN dotnet publish -c Release -o out --no-restore Verax_API_EF.sln
|
||||||
|
|
||||||
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||||
|
WORKDIR /
|
||||||
|
COPY --from=build-env /Verax/out .
|
||||||
|
ENTRYPOINT ["dotnet", "API.dll"]
|
Loading…
Reference in new issue