Skip to content

Commit 2a58269

Browse files
committed
add build and run scripts to package.json
1 parent 217d079 commit 2a58269

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
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",

terraform/modules/run-service/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ variable "ingress_settings" {
4141
variable "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
}
4646
variable "service_account_email" {
4747
type = string

0 commit comments

Comments
 (0)