Skip to content

Commit

Permalink
- Added ignore-scripts flag to api-server Dockerfile
Browse files Browse the repository at this point in the history
- Fixed husky pre-commit folder name in api-server
  • Loading branch information
duggalsu authored and dennyabrain committed Aug 23, 2023
1 parent f39fd05 commit 12002fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion browser-extension/api-server/.husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

cd "browser extension/api-server"
cd "browser-extension/api-server"
npm run pre-commit
6 changes: 3 additions & 3 deletions browser-extension/api-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ WORKDIR /app

COPY package.json /app/package.json
RUN cd /app
RUN npm install
RUN npm install sequelize-cli
RUN npm install -g nodemon
RUN npm install --ignore-scripts
RUN npm install sequelize-cli --ignore-scripts
RUN npm install -g nodemon --ignore-scripts
COPY ./entrypoint.sh /
RUN chmod +x /entrypoint.sh
USER node
Expand Down

0 comments on commit 12002fb

Please sign in to comment.