GordonChan365 commited on
Commit
f8fa409
·
verified ·
1 Parent(s): b86ee1f

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ FROM xyhelper/chat2api
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