mirror of
https://git.fightbot.fun/hxuanyu/BingPaper.git
synced 2026-02-15 07:19:33 +08:00
项目名调整,功能优化
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user