mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 04:30:05 +00:00
🐛 resource
This commit is contained in:
@@ -6,11 +6,13 @@ WORKDIR /dashboard
|
||||
COPY . .
|
||||
RUN cd cmd/dashboard \
|
||||
&& go build -o app -ldflags="-s -w"
|
||||
|
||||
FROM alpine:latest
|
||||
RUN apk --no-cache --no-progress add \
|
||||
ca-certificates \
|
||||
tzdata
|
||||
WORKDIR /dashboard
|
||||
COPY ./resource ./resource
|
||||
COPY --from=binarybuilder /dashboard/cmd/dashboard/app ./app
|
||||
|
||||
VOLUME ["/dashboard/data"]
|
||||
|
||||
Reference in New Issue
Block a user