Skip to content

Commit 10eb46d

Browse files
fix try 5 for render
1 parent 675af99 commit 10eb46d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

render.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ services:
33
name: forgotten-api
44
runtime: go
55
plan: free
6-
buildCommand: go build -o app cmd/server/main.go
6+
buildCommand: go build -tags netgo -ldflags "-s -w" -o app ./cmd/server
77
startCommand: ./app
88
autoDeploy: true
99
healthCheckPath: /health
1010
envVars:
1111
- key: SERVER_HOST
1212
value: 0.0.0.0
1313
- key: SERVER_PORT
14-
value: ${PORT}
14+
value: $PORT
1515
- key: SERVER_ENVIRONMENT
1616
value: production
1717
- key: DB_URL

0 commit comments

Comments
 (0)