Skip to content

Commit

Permalink
Switch to using run-local.sh in Dockerfile
Browse files Browse the repository at this point in the history
Change-Id: I7d534b5c48cd8bd99036ad9616221e8bb69e2fab
  • Loading branch information
AVMarkin committed May 9, 2023
1 parent 74cabde commit be5211d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 30 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM ghcr.io/google/gaarf-py
ADD google_ads_queries/ google_ads_queries/
ADD bq_queries/ bq_queries/
ADD scripts/run-docker.sh .
RUN chmod a+x run-docker.sh
COPY scripts/ scripts/
COPY run-local.sh .
RUN chmod a+x run-local.sh
ENV GOOGLE_APPLICATION_CREDENTIALS service_account.json
ENTRYPOINT ["./run-docker.sh"]
ENTRYPOINT ["./run-local.sh", "--quiet"]
CMD ["--google-ads-config", "/google-ads.yaml", "--config", "/dactionboard.yaml"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ You can run dActionBoard queries inside a Docker container.

```
sudo docker run \
-v /path/to/google-ads.yaml.json:/google-ads.yaml \
-v /path/to/google-ads.yaml:/google-ads.yaml \
-v /path/to/dactionboard.yaml:/config.yaml \
-v /path/to/service_account.json:/service_account.json \
ghcr.io/google/dactionboard
Expand Down
2 changes: 1 addition & 1 deletion dashboard_answers.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"report_id": "ad41d2ca-1d20-43a2-97b8-6cfa141e0f7a",
"dashboard_id": "ad41d2ca-1d20-43a2-97b8-6cfa141e0f7a",
"dashboard_name": "dactionboard_copy",
"dashboard_datasources": {
"vconv": "video_conversion_split",
Expand Down
25 changes: 0 additions & 25 deletions scripts/run-docker.sh

This file was deleted.

0 comments on commit be5211d

Please sign in to comment.