neuroama commited on
Commit
36cc3a0
·
1 Parent(s): 6250a68

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -1,5 +1,7 @@
1
  FROM xyhelper/cockroachai:latest
2
  RUN mkdir -p /app/config && chmod 777 /app/config
 
 
3
  # 获取config.yaml
4
  RUN --mount=type=secret,id=CONFIG_YAML,mode=0444,required=true \
5
  cat /run/secrets/CONFIG_YAML > /app/config/config.yaml && chmod 777 /app/config/config.yaml
 
1
  FROM xyhelper/cockroachai:latest
2
  RUN mkdir -p /app/config && chmod 777 /app/config
3
+ RUN mkdir -p /app/resource/template/ && chmod 777 /app/resource/template/
4
+
5
  # 获取config.yaml
6
  RUN --mount=type=secret,id=CONFIG_YAML,mode=0444,required=true \
7
  cat /run/secrets/CONFIG_YAML > /app/config/config.yaml && chmod 777 /app/config/config.yaml