File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ COPY . /app
5959# https://stackoverflow.com/questions/27068163/python-requests-not-handling-missing-intermediate-certificate-only-from-one-mach
6060# Append certificate to .../site-packages/certifi/cacert.pem
6161RUN CERTIFI_CACERT_FILE=$(poetry run python -c "import certifi; print(certifi.where())" ) \
62- && [ -f "$CERTIFI_CACERT_FILE" ] && cat certs/aws_ca_intermediate_cert certs/ local_dev_only_selfsigned_ca_root_cert >> $CERTIFI_CACERT_FILE
62+ && [ -f "$CERTIFI_CACERT_FILE" ] && cat certs/local_dev_only_selfsigned_ca_root_cert >> $CERTIFI_CACERT_FILE
6363
6464ENV HAYHOOKS_PIPELINES_DIR=/app/src/pipelines
6565
@@ -118,10 +118,6 @@ ENV PATH="/app/.venv/bin:$PATH"
118118# to the Docker container that it's running in.
119119ENV HOST=0.0.0.0
120120
121- # Append certificate to .../site-packages/certifi/cacert.pem
122- RUN CERTIFI_CACERT_FILE=$(poetry run python -c "import certifi; print(certifi.where())" ) \
123- && [ -f "$CERTIFI_CACERT_FILE" ] && cat certs/aws_ca_intermediate_cert >> $CERTIFI_CACERT_FILE
124-
125121USER ${RUN_USER}
126122
127123# Run the application.
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Based on [this documentation](https://arize.com/docs/phoenix/release-notes/04.20
1010 - Request certificate in ACM
1111 - Created CNAME record based on request result for ACM to validate request
1212 - Upon ACM validation, exported certificate from ACM; download and move to a ` certs ` folder
13+ - Append the contents of ` certificate_chain.txt ` to the end of ` certificate.pem `
1314 - Copy ` certs ` folder to Lightsail instance: ` scp -i $SSH_KEY_PEM_FILE -r certs ec2-user@${STATIC_IP} `
1415 * (For local dev environment) Create self-signed certificate for Phoenix instance
1516``` sh
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ openai = "^1.99.8"
2727openinference-instrumentation-haystack = " ^0.1.24"
2828arize-phoenix-client = " ^1.15.3"
2929arize-phoenix-otel = " ^0.13.0"
30- certifi = " ^2025.8.3"
3130
3231[tool .poetry .group .dev .dependencies ]
32+ certifi = " ^2025.8.3"
3333black = " ^23.9.1"
3434isort = " ^5.12.0"
3535mypy = " ^1.5.1"
You can’t perform that action at this time.
0 commit comments