Skip to content

Commit 81ed5be

Browse files
author
David Linko
committed
fixed where vue cli version was set
1 parent 82ccad7 commit 81ed5be

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

anms-ui/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ENV PM2_HOME=${APP_WORK_DIR}/.pm2
4040

4141
# Install NodeJS Global Dependencies
4242
RUN --mount=type=cache,target=/root/.cache/yarn \
43-
yarn global add pm2 @vue/cli
43+
yarn global add pm2 @vue/cli@4.5.15
4444

4545
# Remaining commands as this user
4646
USER ${APP_USER}:${APP_USER}

anms-ui/check_packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ docker image build --tag anms-ui --target anms-ui ${SELFDIR}
4141

4242

4343
docker run anms-ui bash -c "cd /opt/node_app/public && yarn audit --json || exit 0" > ${SELFDIR}/logs/${PUBLIC_LOG}
44-
docker run anms-ui bash -c "cd /opt/node_app/server && npm audit --json || exit 0" > ${SELFDIR}/logs/${SERVER_LOG}
44+
docker run anms-ui bash -c "cd /opt/node_app/server && yarn audit --json || exit 0" > ${SELFDIR}/logs/${SERVER_LOG}
4545

4646

anms-ui/public/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"@fortawesome/fontawesome-svg-core": "^1.2.32",
88
"@fortawesome/free-solid-svg-icons": "^6.2.0",
99
"@fortawesome/vue-fontawesome": "^2.0.9",
10-
"@vue/cli": "^4.5.15",
1110
"axios": "^1.7.4",
1211
"body-parser": "^1.20.3",
1312
"bootstrap": "^4.6.2",

0 commit comments

Comments
 (0)