From fb34d0ac838537f49f4910b42353057e1923888b Mon Sep 17 00:00:00 2001 From: Plynksiy Nikita <39155883+trofen@users.noreply.github.com> Date: Wed, 18 Jun 2025 15:42:13 +0300 Subject: [PATCH] fix: correct typo in build arg FRONTEND_GIT_REPO (#292) --- Dockerfile.dev | 6 +++--- docker-compose-dev.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile.dev b/Dockerfile.dev index d48794f..9f46ef1 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -42,11 +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_REPO=https://github.com/lejianwen/rustdesk-api-web.git ARG FRONTEND_GIT_BRANCH=master # Clone the frontend repository -RUN git clone -b $FRONTEND_GIT_BRANCH $FREONTEND_GIT_REPO . +RUN git clone -b $FRONTEND_GIT_BRANCH $FRONTEND_GIT_REPO . # Install required tools without caching index to minimize image size RUN if [ "$COUNTRY" = "CN" ] ; then \ @@ -91,4 +91,4 @@ VOLUME /app/data EXPOSE 21114 # Define the command to run the application -CMD ["./apimain"] \ No newline at end of file +CMD ["./apimain"] diff --git a/docker-compose-dev.yaml b/docker-compose-dev.yaml index 6118d4a..fcd1a7f 100644 --- a/docker-compose-dev.yaml +++ b/docker-compose-dev.yaml @@ -5,7 +5,7 @@ services: dockerfile: Dockerfile.dev args: COUNTRY: CN - FREONTEND_GIT_REPO: https://github.com/lejianwen/rustdesk-api-web.git + FRONTEND_GIT_REPO: https://github.com/lejianwen/rustdesk-api-web.git FRONTEND_GIT_BRANCH: master # image: lejianwen/rustdesk-api container_name: rustdesk-api @@ -21,4 +21,4 @@ services: - ./data/rustdesk/api:/app/data #将数据库挂载出来方便备份 - ./conf:/app/conf # config # - ./resources:/app/resources # 静态资源 - restart: unless-stopped \ No newline at end of file + restart: unless-stopped