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
|
COPY adminfront ./adminfront
|
||||||
|
|
||||||
# Install dependencies for the workspace
|
# Install dependencies for the workspace
|
||||||
RUN cd common && pnpm install
|
RUN cd common && CI=true pnpm install
|
||||||
|
|
||||||
# 프로덕션 서빙을 위한 serve 패키지 글로벌 설치
|
# 프로덕션 서빙을 위한 serve 패키지 글로벌 설치
|
||||||
RUN npm install -g serve
|
RUN npm install -g serve
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ ensure_frontend_dependencies() {
|
|||||||
echo "Installing frontend dependencies..."
|
echo "Installing frontend dependencies..."
|
||||||
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
(cd /common && pnpm install)
|
(cd /common && CI=true pnpm install)
|
||||||
else
|
else
|
||||||
npm ci
|
npm ci
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ COPY common ./common
|
|||||||
COPY devfront ./devfront
|
COPY devfront ./devfront
|
||||||
|
|
||||||
# Install dependencies for the workspace
|
# Install dependencies for the workspace
|
||||||
RUN cd common && pnpm install
|
RUN cd common && CI=true pnpm install
|
||||||
|
|
||||||
# 프로덕션 서빙을 위한 serve 패키지 글로벌 설치
|
# 프로덕션 서빙을 위한 serve 패키지 글로벌 설치
|
||||||
RUN npm install -g serve
|
RUN npm install -g serve
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ ensure_frontend_dependencies() {
|
|||||||
echo "Installing frontend dependencies..."
|
echo "Installing frontend dependencies..."
|
||||||
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
(cd /common && pnpm install)
|
(cd /common && CI=true pnpm install)
|
||||||
else
|
else
|
||||||
npm ci
|
npm ci
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ COPY common ./common
|
|||||||
COPY orgfront ./orgfront
|
COPY orgfront ./orgfront
|
||||||
|
|
||||||
# Install dependencies for the workspace
|
# Install dependencies for the workspace
|
||||||
RUN cd common && pnpm install
|
RUN cd common && CI=true pnpm install
|
||||||
|
|
||||||
# 프로덕션 서빙을 위한 serve 패키지 글로벌 설치
|
# 프로덕션 서빙을 위한 serve 패키지 글로벌 설치
|
||||||
RUN npm install -g serve
|
RUN npm install -g serve
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ ensure_frontend_dependencies() {
|
|||||||
echo "Installing frontend dependencies..."
|
echo "Installing frontend dependencies..."
|
||||||
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
(cd /common && pnpm install)
|
(cd /common && CI=true pnpm install)
|
||||||
else
|
else
|
||||||
npm ci
|
npm ci
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user