Launch a container that starts an import job from gcs to bq
1.0K
Part of the sample implementation at https://clglavan.github.io/nvd-scrapper/
Launch a container that starts an import job to bq from gcs
environment
docker run -e PROJECTID="{project_id}" \
-e DATASETID="{dataset_id}" \
-e GCSURI="{gcs_uri}" \
-e TABLEID="{table_id}" \
-e GOOGLE_APPLICATION_CREDENTIALS=/google/key.json \
-v $(pwd):/google/ \
--rm clglavan/bigquery-job
docker pull clglavan/bigquery-job:latest