feat: Add team registration executable and API for auto-registration.
This commit is contained in:
@@ -88,8 +88,13 @@ WORKDIR /app
|
||||
# Copy binary from builder
|
||||
COPY --from=backend-builder /app/codex-pool /app/codex-pool
|
||||
|
||||
# Copy team-reg executable (if exists) - for auto-registration feature
|
||||
# 注意: 需要提供 Linux 版本的 team-reg 可执行文件
|
||||
COPY backend/team-reg* /app/
|
||||
|
||||
# Create data directory
|
||||
RUN mkdir -p /app/data
|
||||
RUN mkdir -p /app/data && \
|
||||
chmod +x /app/team-reg* 2>/dev/null || true
|
||||
|
||||
# Expose port
|
||||
EXPOSE 8848
|
||||
@@ -100,3 +105,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
|
||||
|
||||
# Run the application
|
||||
ENTRYPOINT ["/app/codex-pool"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user