-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update documentation on running dActionBoard in airflow Change-Id: I3e94f89dd59d8e4303433ebefdca6cc95848b5ba
- Loading branch information
Showing
2 changed files
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
FROM ghcr.io/google/gaarf-py | ||
WORKDIR /app | ||
ADD google_ads_queries/ google_ads_queries/ | ||
ADD bq_queries/ bq_queries/ | ||
COPY scripts/ scripts/ | ||
COPY run-local.sh . | ||
RUN chmod a+x run-local.sh | ||
ENV GOOGLE_APPLICATION_CREDENTIALS service_account.json | ||
ENTRYPOINT ["./run-local.sh", "--quiet"] | ||
FROM python:3.10-slim-buster | ||
COPY app/requirements.txt requirements.txt | ||
RUN --mount=type=cache,target=/root/.cache pip install --require-hashes -r requirements.txt --no-deps | ||
COPY app app | ||
ENV GOOGLE_APPLICATION_CREDENTIALS app/service_account.json | ||
|
||
ENTRYPOINT ["./app/run-local.sh", "--quiet"] | ||
CMD ["--google-ads-config", "/google-ads.yaml", "--config", "/dactionboard.yaml"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters