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
parent 74e4799ea9
commit 9ac87b82e9
3 changed files with 4 additions and 3 deletions

View File

@ -24,3 +24,4 @@ cache:
mount: mount:
- node_modules - node_modules
- .npm - .npm
- dist

View File

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

View File

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