File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
terraform/modules/run-service Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1010 "scripts" : {
1111 "start" : " DATABASE=tech-report-api-prod functions-framework --target=app" ,
1212 "test" : " node --experimental-vm-modules node_modules/jest/bin/jest.js" ,
13- "test:live" : " bash ../test-api.sh"
13+ "test:live" : " bash ../test-api.sh" ,
14+ "build" : " docker build -t tech-report-api ." ,
15+ "run" : " docker run -p 8080:8080 tech-report-api"
1416 },
1517 "dependencies" : {
1618 "@google-cloud/firestore" : " 8.0.0" ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ variable "ingress_settings" {
4141variable "timeout" {
4242 default = " 60s"
4343 type = string
44- description = " Timeout (in seconds) for the function . Default value is 60 seconds. Cannot be more than 540 seconds."
44+ description = " Timeout for the service . Default value is 60 seconds. Cannot be more than 540 seconds."
4545}
4646variable "service_account_email" {
4747 type = string
You can’t perform that action at this time.
0 commit comments