diff --git a/.github/Dockerfile b/.github/Dockerfile index d40aa9db9..2e39e5006 100644 --- a/.github/Dockerfile +++ b/.github/Dockerfile @@ -3,7 +3,7 @@ FROM alpine:latest ARG TARGETARCH COPY ./clash-rs/clash-${TARGETARCH} /usr/bin/clash # The yq library installed here is used to rewrite the config.yaml configuration file for clash, merge it, and other related operations. -RUN apk update && apk add --no-cache -f yq && mkdir -p /root/.config/clash/ +RUN apk update && apk add --no-cache -f yq && mkdir -p /root/.config/clash/ && chmod +x /usr/bin/clash WORKDIR /root ENTRYPOINT [ "/usr/bin/clash" ] CMD [ "-d", "/root/.config/clash/" ] \ No newline at end of file