mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 05:37:20 +08:00
Applied npm patch for build errors (#1326)
* npm patch https://github.com/npm/cli/issues/7231#issuecomment-2062032218 * Delete huge unnecessary tools folder
This commit is contained in:
committed by
GitHub
parent
0b6ab238f9
commit
99829f95fd
3
.github/workflows/ghcr.yml
vendored
3
.github/workflows/ghcr.yml
vendored
@@ -30,6 +30,9 @@ jobs:
|
||||
|
||||
- name: Log-in to ghcr.io
|
||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||
|
||||
- name: Delete huge unnecessary tools folder
|
||||
run: rm -rf /opt/hostedtoolcache
|
||||
|
||||
- name: Build and push ${{ matrix.image }}
|
||||
run: |
|
||||
|
||||
@@ -3,6 +3,7 @@ FROM node:21.7.2-bookworm-slim as frontend-builder
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./frontend/package.json frontend/package-lock.json ./
|
||||
RUN npm install -g npm@10.5.1
|
||||
RUN npm install
|
||||
|
||||
COPY ./frontend ./
|
||||
|
||||
Reference in New Issue
Block a user