remove git for /health
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user