Spaces:
Runtime error
Runtime error
Debug: print env vars
Browse files- 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
|