diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2234e3f..7395c2b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -92,7 +92,7 @@ jobs: service: detached-node image: ${{ vars.GCP_REGION }}-docker.pkg.dev/${{ vars.GCP_PROJECT_ID }}/tech-blog/app:${{ github.sha }} region: ${{ vars.GCP_REGION }} - flags: '--allow-unauthenticated --min-instances=1 --max-instances=3 --cpu=1 --memory=512Mi --port=8080 --timeout=60s' + flags: '--allow-unauthenticated --min-instances=1 --max-instances=3 --cpu=2 --memory=1Gi --port=8080 --timeout=60s' env_vars: | NODE_ENV=production NEXT_PUBLIC_SERVER_URL=${{ vars.NEXT_PUBLIC_SERVER_URL }} diff --git a/next.config.ts b/next.config.ts index b6751ff..b97e53a 100644 --- a/next.config.ts +++ b/next.config.ts @@ -13,7 +13,7 @@ const nextConfig: NextConfig = { // Image optimization configuration images: { - formats: ['image/avif', 'image/webp'], + formats: ['image/webp'], deviceSizes: [640, 750, 828, 1080, 1200, 1920], imageSizes: [16, 32, 48, 64, 96, 128, 256, 384], minimumCacheTTL: 31536000, // 1 year for immutable images