Merge pull request #187 from fleetbase/hotfix-s3deploy-dockerfile

Hotfix s3deploy dockerfile
This commit is contained in:
Ron
2024-01-24 11:09:55 +08:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -7,7 +7,11 @@ routes:
headers:
Cache-Control: "max-age=600, no-transform, public"
gzip: false
- route: "^.+\\.(html|xml|json)$"
- route: "^.+\\.(xml|json)$"
headers:
Cache-Control: "max-age=600, no-transform, public"
gzip: true
- route: "^.+\\.(html)$"
headers:
Cache-Control: "public, max-age=0, must-revalidate"
gzip: true

View File

@@ -1,5 +1,5 @@
# ---- Build Stage ----
FROM node:16.20-alpine AS builder
FROM node:18.15.0-alpine AS builder
# Set the working directory in the container to /app
WORKDIR /app