Add forkable starter kit templates for Python, Go, JavaScript, Rust, Java, and C# — each with HTTP server scaffold, HMAC auth, game types, random strategy, Dockerfile, and GHCR workflow. Update /compete/docs page with starter kit links and registration instructions. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
19 lines
354 B
Docker
19 lines
354 B
Docker
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder
|
|
|
|
WORKDIR /app
|
|
COPY acb-starter-csharp.csproj .
|
|
RUN dotnet restore
|
|
COPY Program.cs .
|
|
RUN dotnet publish -c Release -o /out
|
|
|
|
FROM mcr.microsoft.com/dotnet/runtime:9.0-alpine
|
|
|
|
WORKDIR /app
|
|
COPY --from=builder /out .
|
|
|
|
ENV BOT_PORT=8080
|
|
ENV BOT_SECRET=""
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["dotnet", "acb-starter-csharp.dll"]
|