Skip to content

Commit

Permalink
Disabled postinstall for a test
Browse files Browse the repository at this point in the history
  • Loading branch information
x-dean committed Nov 27, 2024
1 parent e015024 commit db2ba56
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ RUN git clone https://github.com/gchq/CyberChef.git /app
# Install Grunt CLI globally
RUN npm install -g grunt-cli

# Install project dependencies with compatibility flag
RUN npm install --legacy-peer-deps
# Temporarily disable postinstall scripts and install dependencies
RUN npm_config_ignore_scripts=true npm install --legacy-peer-deps

# Manually execute necessary Grunt tasks
RUN npx grunt exec:fixCryptoApiImports && \
npx grunt exec:fixSnackbarMarkup && \
npx grunt exec:fixJimpModule

# Build the production version of CyberChef
RUN npm run build:prod
Expand Down

0 comments on commit db2ba56

Please sign in to comment.