udbhav commited on
Commit
867f4a0
·
1 Parent(s): c6b2354

fixing bom

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -1
  2. entrypoint.sh +2 -2
Dockerfile CHANGED
@@ -265,7 +265,8 @@ RUN chmod +x /entrypoint.sh
265
  EXPOSE 7860
266
 
267
  # Run app via entrypoint (root user always)
268
- ENTRYPOINT ["/entrypoint.sh"]
 
269
 
270
  # Default command
271
  CMD ["python", "app.py"]
 
265
  EXPOSE 7860
266
 
267
  # Run app via entrypoint (root user always)
268
+ ENTRYPOINT ["bash", "/entrypoint.sh"]
269
+
270
 
271
  # Default command
272
  CMD ["python", "app.py"]
entrypoint.sh CHANGED
@@ -43,8 +43,8 @@ fi
43
  cat /app/certs/*.crt > /app/certs/corp_bundle.crt 2>/dev/null || true
44
  export REQUESTS_CA_BUNDLE=/app/certs/corp_bundle.crt
45
 
46
- echo " Corporate certs configured (if provided)."
47
- echo "🔗 REQUESTS_CA_BUNDLE set to $REQUESTS_CA_BUNDLE"
48
 
49
  exec "$@"
50
  EOF
 
43
  cat /app/certs/*.crt > /app/certs/corp_bundle.crt 2>/dev/null || true
44
  export REQUESTS_CA_BUNDLE=/app/certs/corp_bundle.crt
45
 
46
+ echo "? Corporate certs configured (if provided)."
47
+ echo "? REQUESTS_CA_BUNDLE set to $REQUESTS_CA_BUNDLE"
48
 
49
  exec "$@"
50
  EOF