项目名调整,功能优化

This commit is contained in:
2026-01-26 22:20:27 +08:00
parent c6e5e655f9
commit 50275265ac
25 changed files with 413 additions and 66 deletions

View File

@@ -5,15 +5,15 @@ COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o BingDailyImage .
RUN go build -o BingPaper .
FROM alpine:latest
WORKDIR /app
COPY --from=builder /app/BingDailyImage .
COPY --from=builder /app/BingPaper .
RUN mkdir -p data
COPY --from=builder /app/config.example.yaml ./data/config.yaml
COPY --from=builder /app/web ./web
EXPOSE 8080
ENTRYPOINT ["./BingDailyImage"]
ENTRYPOINT ["./BingPaper"]