From ff3f5ae893616ad91e5cc5e1ca6c464d501f1203 Mon Sep 17 00:00:00 2001 From: hulb Date: Sat, 15 Aug 2020 11:43:14 +0800 Subject: [PATCH] fix Dockerfile --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8cf5c35..754d6b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,5 +10,8 @@ RUN go mod download && \ FROM alpine:latest RUN apk add --no-cache ca-certificates -COPY --from=builder /proxypool / -ENTRYPOINT ["/proxypool"] \ No newline at end of file +WORKDIR /proxypool-src +COPY ./assets /proxypool-src/assets +COPY ./source.yaml /proxypool-src +COPY --from=builder /proxypool /proxypool-src/ +ENTRYPOINT ["/proxypool-src/proxypool"]