File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3434 run : npm list
3535
3636 - name : Install dependencies
37- run : npm install --prefer-offline
37+ run : npm ci --ignore-scripts --prefer-offline
3838
3939 # - name: Typecheck
4040 # run: npm run typecheck
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ FROM base as deps
1313WORKDIR /myapp
1414
1515ADD package.json package-lock.json .npmrc ./
16- RUN npm install --include=dev
16+ RUN npm ci --ignore-scripts --include=dev
1717
1818# Setup production node_modules
1919FROM base as production-deps
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ COOKIE_SECRET="s3cr3ts3cr3t"
2222### Start app in development mode
2323
2424``` sh
25- npm install # Install dependencies
26- npm run setup:db # Setup Prisma and migrate database
27- npm run dev # Start app in dev mode with hot reload
25+ npm ci --ignore-scripts # Install dependencies
26+ npm run setup:db # Setup Prisma and migrate database
27+ npm run dev # Start app in dev mode with hot reload
2828```
2929
3030### (Optional) Use prod data in local dev
You can’t perform that action at this time.
0 commit comments