it would be nice to know which command is failing

This commit is contained in:
burnettk 2022-11-04 19:04:59 -04:00
parent 48a74301fb
commit ea8dcd26d1
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ ENV NODE_OPTIONS=--max_old_space_size=2048
# --ignore-scripts because authors can do bad things in postinstall scripts. # --ignore-scripts because authors can do bad things in postinstall scripts.
# https://cheatsheetseries.owasp.org/cheatsheets/NPM_Security_Cheat_Sheet.html # https://cheatsheetseries.owasp.org/cheatsheets/NPM_Security_Cheat_Sheet.html
# npx can-i-ignore-scripts can check that it's safe to ignore scripts. # npx can-i-ignore-scripts can check that it's safe to ignore scripts.
RUN npm ci --ignore-scripts && npm run build RUN npm ci --ignore-scripts
RUN npm run build
ENTRYPOINT ["/app/bin/boot_server_in_docker"] ENTRYPOINT ["/app/bin/boot_server_in_docker"]