Try to run CD jobs 🐛🐛
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
4ca93abf8f
commit
50046a5a06
@ -1,12 +1,10 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
|
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY . Verax/
|
COPY . Verax/
|
||||||
RUN cd Verax/
|
RUN dotnet restore /Verax/Verax_API_EF/Verax_API_EF.sln
|
||||||
RUN cd Verax_API_EF/
|
RUN dotnet publish -c Release -o out --no-restore /Verax/Verax_API_EF/Verax_API_EF.sln
|
||||||
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
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=build-env /Verax/out .
|
COPY --from=build-env /out .
|
||||||
ENTRYPOINT ["dotnet", "API.dll"]
|
ENTRYPOINT ["dotnet", "API.dll"]
|
Loading…
Reference in new issue