Просмотр исходного кода

fix: correct typo in build arg FRONTEND_GIT_REPO (#292)

Plynksiy Nikita месяцев назад: 7
Родитель
Сommit
fb34d0ac83
2 измененных файлов с 5 добавлено и 5 удалено
  1. 3 3
      Dockerfile.dev
  2. 2 2
      docker-compose-dev.yaml

+ 3 - 3
Dockerfile.dev

@@ -42,11 +42,11 @@ RUN if [ "$COUNTRY" = "CN" ] ; then \
42
     fi && \
42
     fi && \
43
     apk update && apk add --no-cache git
43
     apk update && apk add --no-cache git
44
 
44
 
45
-ARG FREONTEND_GIT_REPO=https://github.com/lejianwen/rustdesk-api-web.git
45
+ARG FRONTEND_GIT_REPO=https://github.com/lejianwen/rustdesk-api-web.git
46
 ARG FRONTEND_GIT_BRANCH=master
46
 ARG FRONTEND_GIT_BRANCH=master
47
 # Clone the frontend repository
47
 # Clone the frontend repository
48
 
48
 
49
-RUN git clone -b $FRONTEND_GIT_BRANCH $FREONTEND_GIT_REPO .
49
+RUN git clone -b $FRONTEND_GIT_BRANCH $FRONTEND_GIT_REPO .
50
 
50
 
51
 # Install required tools without caching index to minimize image size
51
 # Install required tools without caching index to minimize image size
52
 RUN if [ "$COUNTRY" = "CN" ] ; then \
52
 RUN if [ "$COUNTRY" = "CN" ] ; then \
@@ -91,4 +91,4 @@ VOLUME /app/data
91
 EXPOSE 21114
91
 EXPOSE 21114
92
 
92
 
93
 # Define the command to run the application
93
 # Define the command to run the application
94
-CMD ["./apimain"]
94
+CMD ["./apimain"]

+ 2 - 2
docker-compose-dev.yaml

@@ -5,7 +5,7 @@ services:
5
       dockerfile: Dockerfile.dev
5
       dockerfile: Dockerfile.dev
6
       args:
6
       args:
7
         COUNTRY: CN
7
         COUNTRY: CN
8
-        FREONTEND_GIT_REPO: https://github.com/lejianwen/rustdesk-api-web.git
8
+        FRONTEND_GIT_REPO: https://github.com/lejianwen/rustdesk-api-web.git
9
         FRONTEND_GIT_BRANCH: master
9
         FRONTEND_GIT_BRANCH: master
10
     # image: lejianwen/rustdesk-api
10
     # image: lejianwen/rustdesk-api
11
     container_name: rustdesk-api
11
     container_name: rustdesk-api
@@ -21,4 +21,4 @@ services:
21
       - ./data/rustdesk/api:/app/data #将数据库挂载出来方便备份
21
       - ./data/rustdesk/api:/app/data #将数据库挂载出来方便备份
22
       - ./conf:/app/conf # config
22
       - ./conf:/app/conf # config
23
       # - ./resources:/app/resources # 静态资源
23
       # - ./resources:/app/resources # 静态资源
24
-    restart: unless-stopped
24
+    restart: unless-stopped