@racheld
הבעיה נפתרה.
מצרפת פתרון למקרה שיזדקקו לו אחרים.
יש להוסיף ל docker compose פקודה הדורסת את פקודת העליה של האפליקציה שרצה ב-image הספציפי. ( במקרה שלי command ו- entrypoint)
(ניתן לבדוק זאת ב inspect ב- docker desktop)
בפקודת העליה של הדוקר לשים את הפקודות הבאות ולשרשר אליהן את פקודת העליה של האפליקציה עצמה ( במקרה שלי: /app/entrypoint.sh) :
entrypoint: sh -c "
apt-get update && apt-get install -y curl ca-certificates python3-pip && \
pip install certifi && \
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt && \
curl -sL https://netfree.link/dl/unix-ca.sh | sh && \
update-ca-certificates && \
python3 -c 'import certifi; print(certifi.where())' && \
cp /etc/ssl/certs/ca-certificates.crt $(python3 -c 'import certifi; print(certifi.where())') && \
export NODE_EXTRA_CA_CERTS=$(python3 -c 'import certifi; print(certifi.where())') && \
export REQUESTS_CA_BUNDLE=$(python3 -c 'import certifi; print(certifi.where())') && \
export SSL_CERT_FILE=$(python3 -c 'import certifi; print(certifi.where())') && \
/app/entrypoint.sh
"
בהצלחה!