Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- For portal and apigw, omit dev dependencies when npm install. #285

Merged
merged 1 commit into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ jobs:

cd ../ai-verify-apigw
#cp .env.development .env
npm install
npm install --omit=dev

cd ../ai-verify-portal
npm install
npm install --omit=dev
npm link ../ai-verify-shared-library
echo "APIGW_URL=http://127.0.0.1:4000
MONGODB_URI=mongodb://aiverify:[email protected]:27017/aiverify
Expand Down
4 changes: 2 additions & 2 deletions setup-aiverify/aiverify-user/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ TEST_ENGINE_URL=http://test-engine:8080" | tee .env.local
RUN rm .env.development

# Install dependencies for portal, and build portal (nextjs build)
RUN npm install
RUN npm install --omit=dev
RUN npm link ../ai-verify-shared-library
RUN npm run build

Expand All @@ -135,7 +135,7 @@ WEB_REPORT_URL=http://localhost:3000/reportStatus/printview" | tee .env
# Skip Chrome/chromium install during puppeteer install, since chromium
# already installed above
ENV PUPPETEER_SKIP_DOWNLOAD 1
RUN npm install
RUN npm install --omit=dev
ENV PUPPETEER_EXECUTABLE_PATH /usr/bin/chromium

############## Stock plugins #################
Expand Down
Loading