Improve: ci config and Dockerfile & update dependencies

This commit is contained in:
Dreamacro
2018-06-18 18:24:11 +08:00
parent 79e5338113
commit 330a3391e3
4 changed files with 24 additions and 4 deletions

View File

@ -13,7 +13,7 @@ RUN dep ensure && \
FROM alpine:latest
RUN apk --no-cache add ca-certificates && \
mkdir -p /root/.config/clash
COPY --from=builder /clash .
COPY --from=builder /Country.mmdb /root/.config/clash/
COPY --from=builder /clash .
EXPOSE 7890 7891
ENTRYPOINT ["/clash"]