fuliai commited on
Commit
2ff8f73
·
verified ·
1 Parent(s): 43df71d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -14,8 +14,8 @@ ARG DB_POSTGRESDB_USER=$DB_POSTGRESDB_USER
14
  ARG DB_POSTGRESDB_PASSWORD=$DB_POSTGRESDB_PASSWORD
15
 
16
  # 显示构建参数(调试用)
17
- RUN --mount=type=secret,id=DB_Host,mode=0444,required=true \
18
- --mount=type=secret,id=DB_Port,mode=0444,required=true \
19
  echo "Build args: CACHEBUST=${CACHEBUST}, DB_HOST=${DB_POSTGRESDB_HOST}, DB_PORT=${DB_POSTGRESDB_PORT}"
20
 
21
  # 设置 NC_DB 环境变量
 
14
  ARG DB_POSTGRESDB_PASSWORD=$DB_POSTGRESDB_PASSWORD
15
 
16
  # 显示构建参数(调试用)
17
+ RUN --mount=type=secret,id=DB_POSTGRESDB_USER,mode=0444,required=true \
18
+ --mount=type=secret,id=DB_POSTGRESDB_PASSWORD,mode=0444,required=true \
19
  echo "Build args: CACHEBUST=${CACHEBUST}, DB_HOST=${DB_POSTGRESDB_HOST}, DB_PORT=${DB_POSTGRESDB_PORT}"
20
 
21
  # 设置 NC_DB 环境变量