Skip to content

Commit 675af99

Browse files
fix try 4 for render
1 parent 0e7e5e3 commit 675af99

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

render.yaml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
11
services:
22
- type: web
33
name: forgotten-api
4-
runtime: docker
4+
runtime: go
55
plan: free
6-
rootDir: .
7-
dockerfilePath: ./docker/Dockerfile
6+
buildCommand: go build -o app cmd/server/main.go
7+
startCommand: ./app
88
autoDeploy: true
99
healthCheckPath: /health
10-
# Force Docker build - this overrides auto-detection
11-
dockerCommand: ./app
12-
buildFilter:
13-
paths:
14-
- docker/**
15-
- "**/*.go"
16-
- go.mod
17-
- go.sum
18-
- Makefile
1910
envVars:
2011
- key: SERVER_HOST
2112
value: 0.0.0.0

0 commit comments

Comments
 (0)