fix 修复构建失败
All checks were successful
Build image / build (push) Successful in 5m5s

This commit is contained in:
timerzz 2024-04-13 10:59:27 +08:00
parent 9e1de87c89
commit ad86e8671c
2 changed files with 3 additions and 3 deletions

View File

@ -6,9 +6,11 @@ COPY . /build
RUN CGO_ENABLED=0 go build -trimpath -ldflags '-w -s' -o watcher ./main
FROM oven/bun:1 as front
ARG HTTP_PROXY=http://192.168.31.55:10809
ARG HTTPS_PROXY=http://192.168.31.55:10809
COPY . /build
WORKDIR /build/wwwroot
RUN bun install -c /build/wwwroot/bunfig.toml && bun run build
RUN bun install && bun run build
FROM alpine:latest
ARG HTTP_PROXY=http://192.168.31.55:10809

View File

@ -1,2 +0,0 @@
[install]
registry = "https://registry.npmmirror.com/"