This commit is contained in:
parent
9e1de87c89
commit
ad86e8671c
@ -6,9 +6,11 @@ COPY . /build
|
|||||||
RUN CGO_ENABLED=0 go build -trimpath -ldflags '-w -s' -o watcher ./main
|
RUN CGO_ENABLED=0 go build -trimpath -ldflags '-w -s' -o watcher ./main
|
||||||
|
|
||||||
FROM oven/bun:1 as front
|
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
|
COPY . /build
|
||||||
WORKDIR /build/wwwroot
|
WORKDIR /build/wwwroot
|
||||||
RUN bun install -c /build/wwwroot/bunfig.toml && bun run build
|
RUN bun install && bun run build
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
ARG HTTP_PROXY=http://192.168.31.55:10809
|
ARG HTTP_PROXY=http://192.168.31.55:10809
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
[install]
|
|
||||||
registry = "https://registry.npmmirror.com/"
|
|
Loading…
Reference in New Issue
Block a user