Rename old C# backend folder
This commit is contained in:
parent
f3eb84d812
commit
dc685661a7
16 changed files with 0 additions and 0 deletions
|
@ -1,20 +0,0 @@
|
|||
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
|
||||
WORKDIR /src
|
||||
COPY ["LeakyShipsAPI/LeakyShipsAPI.csproj", "LeakyShipsAPI/"]
|
||||
RUN dotnet restore "LeakyShipsAPI/LeakyShipsAPI.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/LeakyShipsAPI"
|
||||
RUN dotnet build "LeakyShipsAPI.csproj" -c Release -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
RUN dotnet publish "LeakyShipsAPI.csproj" -c Release -o /app/publish
|
||||
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
ENTRYPOINT ["dotnet", "LeakyShipsAPI.dll"]
|
Loading…
Add table
Add a link
Reference in a new issue