diff --git a/Dockerfile b/Dockerfile index 8849657..965a1e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,21 +1,19 @@ -FROM node:22-bookworm AS build +FROM forgejo.neshweb.net/ci-docker-images/node-chromium:22 AS build WORKDIR /app -COPY . . - ENV CI=true -ENV CHROMIUM_VERSION="135.0.7049.84-1~deb12u1" -RUN apt-get update && apt-get -y install --no-install-recommends chromium=${CHROMIUM_VERSION} procps libxss1 && rm -rf /var/lib/apt/lists/* + +COPY . . RUN npm i RUN npm run astro telemetry disable RUN npm run build +RUN rm ./dist/.original.favicon.ico FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime WORKDIR / COPY --from=build /app/dist /public COPY --from=build /app/serve.json /public/serve.json -RUN rm /public/.original.favicon.ico EXPOSE 8081 CMD serve --listen 8081 --no-clipboard /public diff --git a/package-lock.json b/package-lock.json index 9f6bcbd..d7d6672 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@firq/fgosite", - "version": "0.2.0-pre.96", + "version": "0.2.0-pre.97", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@firq/fgosite", - "version": "0.2.0-pre.96", + "version": "0.2.0-pre.97", "dependencies": { "@astro-community/astro-embed-youtube": "^0.5.6", "@astrojs/check": "^0.9.4", diff --git a/package.json b/package.json index a8729d7..0c16209 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@firq/fgosite", "type": "module", - "version": "0.2.0-pre.96", + "version": "0.2.0-pre.97", "private": true, "scripts": { "dev": "astro dev", diff --git a/unlighthouse.config.ts b/unlighthouse.config.ts index 6a95bbf..911aa2e 100644 --- a/unlighthouse.config.ts +++ b/unlighthouse.config.ts @@ -37,9 +37,9 @@ export default async (): Promise<UserConfig> => { buildStatic: true, }, scanner: { - sitemap: true, + sitemap: false, dynamicSampling: false, - samples: 3, + samples: 1, }, outputPath: 'unlighthouse-reports', cache: true,