updated terraform files

This commit is contained in:
lenape
2025-06-22 02:54:36 +00:00
parent 386c50d472
commit 2e8b256572
22 changed files with 8848 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
bin/
obj/
*.md
*.zip

View 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"]

View File

@@ -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();

View File

@@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project>