mohit-vashishta commited on
Commit
29d9fc0
·
verified ·
1 Parent(s): 9d9b17a

Debug: print env vars

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -8,5 +8,9 @@ WORKDIR /workspace
8
 
9
  COPY process_small.py .
10
 
 
 
 
 
11
  # Run script then keep container alive
12
- CMD python process_small.py; echo "Processing complete. Keeping container alive..."; tail -f /dev/null
 
8
 
9
  COPY process_small.py .
10
 
11
+ # Debug: show what env vars are available (secrets appear here)
12
+ RUN echo "Checking env vars:" && env | grep -i hf || echo "No HF_* vars found"
13
+ RUN echo "---" && env | head -20
14
+
15
  # Run script then keep container alive
16
+ CMD env | grep -i hf; echo "---"; python process_small.py; echo "Processing complete. Keeping container alive..."; tail -f /dev/null