chore: add Drone CI/CD, docker-compose, deploy script and update Dockerfile to Java 21

This commit is contained in:
mediabot-pt
2026-06-29 10:49:09 +08:00
parent baa04b5138
commit 5b86621f81
5 changed files with 150 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
# Phase 1: 最小可用版本
# 构建阶段
FROM eclipse-temurin:17-jdk-alpine AS builder
FROM eclipse-temurin:21-jdk-alpine AS builder
WORKDIR /build
@@ -28,7 +28,7 @@ RUN apk add --no-cache maven && \
cp par-api/target/*.jar target/app.jar
# 运行阶段
FROM eclipse-temurin:17-jre-alpine
FROM eclipse-temurin:21-jre-alpine
LABEL maintainer="PAR Team"
LABEL description="PT Adapter Registry Server"