forked from baron/baron-sso
fix(frontend): run pnpm install with CI=true to prevent TTY prompt errors during runtime setup
This commit is contained in:
@@ -10,7 +10,7 @@ COPY common ./common
|
||||
COPY adminfront ./adminfront
|
||||
|
||||
# Install dependencies for the workspace
|
||||
RUN cd common && pnpm install
|
||||
RUN cd common && CI=true pnpm install
|
||||
|
||||
# 프로덕션 서빙을 위한 serve 패키지 글로벌 설치
|
||||
RUN npm install -g serve
|
||||
|
||||
@@ -61,7 +61,7 @@ ensure_frontend_dependencies() {
|
||||
echo "Installing frontend dependencies..."
|
||||
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
||||
npm install -g pnpm
|
||||
(cd /common && pnpm install)
|
||||
(cd /common && CI=true pnpm install)
|
||||
else
|
||||
npm ci
|
||||
fi
|
||||
|
||||
@@ -10,7 +10,7 @@ COPY common ./common
|
||||
COPY devfront ./devfront
|
||||
|
||||
# Install dependencies for the workspace
|
||||
RUN cd common && pnpm install
|
||||
RUN cd common && CI=true pnpm install
|
||||
|
||||
# 프로덕션 서빙을 위한 serve 패키지 글로벌 설치
|
||||
RUN npm install -g serve
|
||||
|
||||
@@ -61,7 +61,7 @@ ensure_frontend_dependencies() {
|
||||
echo "Installing frontend dependencies..."
|
||||
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
||||
npm install -g pnpm
|
||||
(cd /common && pnpm install)
|
||||
(cd /common && CI=true pnpm install)
|
||||
else
|
||||
npm ci
|
||||
fi
|
||||
|
||||
@@ -10,7 +10,7 @@ COPY common ./common
|
||||
COPY orgfront ./orgfront
|
||||
|
||||
# Install dependencies for the workspace
|
||||
RUN cd common && pnpm install
|
||||
RUN cd common && CI=true pnpm install
|
||||
|
||||
# 프로덕션 서빙을 위한 serve 패키지 글로벌 설치
|
||||
RUN npm install -g serve
|
||||
|
||||
@@ -61,7 +61,7 @@ ensure_frontend_dependencies() {
|
||||
echo "Installing frontend dependencies..."
|
||||
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
||||
npm install -g pnpm
|
||||
(cd /common && pnpm install)
|
||||
(cd /common && CI=true pnpm install)
|
||||
else
|
||||
npm ci
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user