remove git for /health

This commit is contained in:
Danel Kungla
2025-07-22 10:55:40 +03:00
parent aa62aa69f3
commit c8be061ddc
2 changed files with 0 additions and 6 deletions

View File

@@ -3,7 +3,6 @@ FROM node:20-alpine as builder
WORKDIR /app
RUN apk add --no-cache git
RUN npm install -g pnpm@9
RUN npm install -g dotenv-cli

View File

@@ -1,7 +1,5 @@
import withBundleAnalyzer from '@next/bundle-analyzer';
import { execSync } from 'child_process';
const commitHash = execSync('git rev-parse --short HEAD').toString().trim();
const IS_PRODUCTION = process.env.NODE_ENV === 'production';
const SUPABASE_URL = process.env.NEXT_PUBLIC_SUPABASE_URL;
const ENABLE_REACT_COMPILER = process.env.ENABLE_REACT_COMPILER === 'true';
@@ -70,9 +68,6 @@ const config = {
/** We already do linting and typechecking as separate tasks in CI */
eslint: { ignoreDuringBuilds: true },
typescript: { ignoreBuildErrors: true },
env: {
NEXT_PUBLIC_COMMIT_HASH: commitHash,
},
};
export default withBundleAnalyzer({