updated terraform files
This commit is contained in:
1 parent
386c50d472
commit
2e8b256572
22 files changed
+8848
-1
No files matched your search
@@ -0,0 +1,4 @@
|
||||
bin/
|
||||
obj/
|
||||
*.md
|
||||
*.zip
|
||||
@@ -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"]
|
||||
@@ -0,0 +1,4 @@
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
var app = builder.Build();
|
||||
app.MapGet("/", () => Results.Content("<h1 style='font-family:cursive;'>Hello from Jacques Ingram at Adam & Eve!</h1>", "text/html"));
|
||||
app.Run();
|
||||
@@ -0,0 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Reference in new issue
Block a user