updated terraform files
This commit is contained in:
13
dotnet8-minimal-api/Dockerfile
Normal file
13
dotnet8-minimal-api/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
# Build Stage
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||
WORKDIR /src
|
||||
COPY src/*.csproj ./
|
||||
RUN dotnet restore
|
||||
COPY src/ ./
|
||||
RUN dotnet publish -c Release -o /app
|
||||
|
||||
# Runtime Stage
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||
WORKDIR /app
|
||||
COPY --from=build /app ./
|
||||
ENTRYPOINT ["dotnet", "SkennenAPI.dll"]
|
Reference in New Issue
Block a user