fronted for docker-dev

This commit is contained in:
Tao Chen
2024-11-03 16:34:50 +08:00
parent fb9173ed53
commit 3cd90c8f74
2 changed files with 6 additions and 1 deletions

View File

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