tscdev commited on
Commit
f52aa87
·
verified ·
1 Parent(s): 0f1884d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -22,7 +22,8 @@ RUN --mount=type=secret,id=zp_path,mode=0444,required=true \
22
 
23
 
24
  # Download and extract the zip file
25
- RUN if [ -n $(cat /run/secrets/zp_path) ]; then wget -O /tmp/model.zip $(cat /run/secrets/zp_path); fi
 
26
 
27
  # List files in the root and tmp directories to ensure the download happened
28
  RUN ls
 
22
 
23
 
24
  # Download and extract the zip file
25
+ RUN --mount=type=secret,id=zp_path,mode=0444,required=true \
26
+ wget -O /tmp/model.zip $(cat /run/secrets/zp_path)
27
 
28
  # List files in the root and tmp directories to ensure the download happened
29
  RUN ls