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:
@ -24,3 +24,4 @@ cache:
|
|||||||
mount:
|
mount:
|
||||||
- node_modules
|
- node_modules
|
||||||
- .npm
|
- .npm
|
||||||
|
- dist
|
||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user