diff --git a/Dockerfile b/Dockerfile index efeb724a..36277ba6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,6 @@ ENV VITE_BUILD_HASH=${VITE_BUILD_HASH} ENV NODE_OPTIONS=--max_old_space_size=16384 RUN pnpm run build -# Stage 2: Runtime FROM node:20-alpine WORKDIR /app diff --git a/build.sh b/build.sh index 1b632f25..dc48ea9d 100755 --- a/build.sh +++ b/build.sh @@ -5,8 +5,8 @@ temp_env=$(declare -p -x) if [ -f .env.template ]; then source .env.template fi -if [ -f .env ]; then - source .env +if [ -f .env.local ]; then + source .env.local fi # Avoid overwriting env vars provided directly