diff --git a/.woodpecker.yml b/.woodpecker.yml index b4cae4f..23aa22a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -23,4 +23,5 @@ branches: cache: mount: - node_modules - - .npm \ No newline at end of file + - .npm + - dist \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 92adce0..e521d68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /app COPY package*.json ./ RUN npm ci -COPY ../backup/backup . +COPY . . RUN npm run build diff --git a/fly.toml b/fly.toml index a139256..74135d1 100644 --- a/fly.toml +++ b/fly.toml @@ -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"