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
348 B
Docker
19 lines
348 B
Docker
FROM eclipse-temurin:21-alpine AS builder
|
|
|
|
WORKDIR /app
|
|
COPY pom.xml .
|
|
COPY src ./src
|
|
|
|
RUN apk add --no-cache maven && mvn package -DskipTests
|
|
|
|
FROM eclipse-temurin:21-jre-alpine
|
|
|
|
WORKDIR /app
|
|
COPY --from=builder /app/target/starter-bot-1.0.0.jar /app/bot.jar
|
|
|
|
ENV BOT_PORT=8080
|
|
ENV BOT_SECRET=""
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["java", "-jar", "/app/bot.jar"]
|