|
|
@@ -42,8 +42,11 @@ RUN if [ "$COUNTRY" = "CN" ] ; then \
|
|
42
|
42
|
fi && \
|
|
43
|
43
|
apk update && apk add --no-cache git
|
|
44
|
44
|
|
|
|
45
|
+ARG FREONTEND_GIT_REPO=https://github.com/lejianwen/rustdesk-api-web.git
|
|
|
46
|
+ARG FRONTEND_GIT_BRANCH=master
|
|
45
|
47
|
# Clone the frontend repository
|
|
46
|
|
-RUN git clone https://github.com/lejianwen/rustdesk-api-web .
|
|
|
48
|
+
|
|
|
49
|
+RUN git clone -b $FRONTEND_GIT_BRANCH $FREONTEND_GIT_REPO .
|
|
47
|
50
|
|
|
48
|
51
|
# Install required tools without caching index to minimize image size
|
|
49
|
52
|
RUN if [ "$COUNTRY" = "CN" ] ; then \
|