Skip to content

Commit 1104856

Browse files
authored
bug: Use full paths in compiled docker image (#981)
Deployment is reporting that it can't find the executable, so specifying the full paths to all elements.
1 parent 9dc9d77 commit 1104856

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ workflows:
590590
tags:
591591
only: /.*/
592592

593-
# Comment out the following two sections for local CircleCI testing.
593+
# Comment out the following three sections for local CircleCI testing.
594594
- deploy:
595595
name: deploy-autoconnect
596596
image: autoconnect

scripts/reliability/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ ENV GOOGLE_APPLICATION_CREDENTIALS = /app/keys/service-account-key.json
1919
ENV AUTOTRACK_REPORT_BUCKET_NAME = "autopush_reliability"
2020
ENV AUTOTRACK_OUTPUT="md json"
2121
RUN pip install .
22-
CMD ["python3", "reliability_report.py"]
22+
# Specifying the full paths here to avoid an issue with executables not found.
23+
CMD ["/usr/local/bin/python3", "/app/reliability_report.py"]
2324

0 commit comments

Comments
 (0)