Update fly.toml, .woodpecker.yml, and Dockerfile for deployment improvements

- Increased health check grace period in `fly.toml` to 30s.
- Added `dist` directory to cache mounts in `.woodpecker.yml`.
- Fixed file copy path in `Dockerfile` for accurate builds.
This commit is contained in:
2025-07-23 21:29:27 +02:00
committed by k
parent 74a8e7b393
commit c498b19afb
3 changed files with 4 additions and 3 deletions

View File

@ -23,4 +23,5 @@ branches:
cache:
mount:
- node_modules
- .npm
- .npm
- dist

View File

@ -5,7 +5,7 @@ WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY ../backup/backup .
COPY . .
RUN npm run build

View File

@ -26,7 +26,7 @@ kill_timeout = 5
[[http_service.checks]]
interval = "30s"
timeout = "5s"
grace_period = "10s"
grace_period = "30s"
method = "GET"
path = "/"
protocol = "http"