hijnu commited on
Commit
40c8add
·
verified ·
1 Parent(s): 7423685

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
  FROM nocodb/nocodb:latest
2
 
3
- ARG CACHEBUST=102
4
 
5
  # 设置环境变量
6
  ENV WORKDIR=/usr/src/app \
@@ -20,7 +20,8 @@ RUN --mount=type=secret,id=NC_S3_BUCKET_NAME,mode=0444,required=true \
20
  && git clone -b pro https://github.com/aigem/hf-nocodb.git /tmp/hf-nocodb \
21
  # 复制src下的所有文件夹及文件到/tmp/
22
  && cp -r /tmp/hf-nocodb/src/* /tmp/ && cp /tmp/startup.sh /usr/src/appEntry/startup.sh \
23
- && chmod +x /usr/src/appEntry/startup.sh \
 
24
  # 安装 setup.sh
25
  && chmod +x /tmp/setup.sh && /tmp/setup.sh \
26
  # 安装 api-exec
 
1
  FROM nocodb/nocodb:latest
2
 
3
+ ARG CACHEBUST=101
4
 
5
  # 设置环境变量
6
  ENV WORKDIR=/usr/src/app \
 
20
  && git clone -b pro https://github.com/aigem/hf-nocodb.git /tmp/hf-nocodb \
21
  # 复制src下的所有文件夹及文件到/tmp/
22
  && cp -r /tmp/hf-nocodb/src/* /tmp/ && cp /tmp/startup.sh /usr/src/appEntry/startup.sh \
23
+ && cp /tmp/restore_backup.sh /usr/src/appEntry/restore_backup.sh \
24
+ && chmod +x /usr/src/appEntry/*.sh \
25
  # 安装 setup.sh
26
  && chmod +x /tmp/setup.sh && /tmp/setup.sh \
27
  # 安装 api-exec