Skip to content

Commit eac3f67

Browse files
committed
run cmd
1 parent b4d779c commit eac3f67

5 files changed

Lines changed: 6 additions & 9 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules/
22
.DS_Store
33
infra/tf/.terraform/
4+
.env
File renamed without changes.

infra/bigquery-export/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ COPY package*.json ./
1010
# Install dependencies (this layer will be cached unless package files change)
1111
RUN npm ci --only=production --quiet --no-fund --no-audit && npm cache clean --force
1212

13+
ENV EXPORT_CONFIG=""
14+
1315
# Copy source code
1416
COPY . .
1517

infra/bigquery-export/cloudbuild.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

infra/bigquery-export/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
"version": "1.0.0",
44
"main": "index.js",
55
"scripts": {
6-
"start": "node index.js",
7-
"build": "docker build -t bigquery-export ."
6+
"build": "docker build -t bigquery-export .",
7+
"run": "docker run -v ~/.config/gcloud:/home/app/.config/gcloud:ro --env-file .env bigquery-export"
8+
}
89
},
910
"type": "module",
1011
"dependencies": {

0 commit comments

Comments
 (0)