feat: remote config

This commit is contained in:
Abner
2025-07-09 20:30:29 +08:00
committed by GitHub
parent fc4a112f08
commit 818ac9b240
2 changed files with 25 additions and 1 deletions

View File

@@ -23,8 +23,14 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
FROM alpine:latest
RUN apk add --no-cache curl
WORKDIR /app
COPY --from=builder /app/saveany-bot .
COPY entrypoint.sh .
ENTRYPOINT ["/app/saveany-bot"]
RUN chmod +x /app/saveany-bot && \
chmod +x /app/entrypoint.sh
ENTRYPOINT ["/app/entrypoint.sh"]