chore: update Dockerfile: sync with frontend changes
This commit is contained in:
parent
23f6012f8c
commit
6e22df8dda
@ -1,7 +1,7 @@
|
|||||||
# builder
|
# builder
|
||||||
FROM docker.io/library/golang:alpine AS builder
|
FROM docker.io/library/golang:alpine AS builder
|
||||||
|
|
||||||
ENV GOPROXY=https://goproxy.cn
|
#ENV GOPROXY=https://goproxy.cn
|
||||||
ENV CGO_ENABLED=0
|
ENV CGO_ENABLED=0
|
||||||
WORKDIR /builder
|
WORKDIR /builder
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ COPY . /builder
|
|||||||
RUN --mount=type=cache,id=golang,target=/go/pkg make build
|
RUN --mount=type=cache,id=golang,target=/go/pkg make build
|
||||||
|
|
||||||
# UI Builder
|
# UI Builder
|
||||||
FROM git.0x7f.app/woj/woj-ui:1.0.0 AS ui-builder
|
FROM git.0x7f.app/woj/woj-ui:1.1.0 AS ui-builder
|
||||||
RUN find /app -type f -name "*.map" -delete
|
RUN find /app -type f -name "*.map" -delete
|
||||||
|
|
||||||
# main image
|
# main image
|
||||||
|
Loading…
Reference in New Issue
Block a user