Skip to content

🙌 OpenHands: AI-Driven Development

Applied npm patch for build errors (#1326)

மனோஜ்குமார் பழனிச்சாமி99829f95fd1e
diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml
index e6187d6693..2aa3f96891 100644
--- a/.github/workflows/ghcr.yml
+++ b/.github/workflows/ghcr.yml
@@ -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: |
diff --git a/containers/app/Dockerfile b/containers/app/Dockerfile
index 76b49c12ae..e533099348 100644
--- a/containers/app/Dockerfile
+++ b/containers/app/Dockerfile
@@ -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 [email protected]
RUN npm install
COPY ./frontend ./