Fix website build issue (#4142)

* upgrade pnpm

* changelgo
This commit is contained in:
Ali Abdalla 2023-05-10 18:31:44 +04:00 committed by GitHub
parent 35f6c78402
commit 8e19e894a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ No changes to highlight.
## Bug Fixes:
No changes to highlight.
- Fix website build issue by [@aliabd](https://github.com/aliabd) in [PR 4142](https://github.com/gradio-app/gradio/pull/4142)
## Documentation Changes:

View File

@ -1,14 +1,14 @@
FROM python:3.8
RUN apt-get update
RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get install -y nodejs jq
RUN npm install -g npm@latest
RUN apt-get --assume-yes install nginx
RUN mkdir gradio
COPY . /gradio/
WORKDIR /gradio
RUN npm i pnpm@6 -g
RUN npm i pnpm@7 -g
ENV NODE_OPTIONS="--max-old-space-size=4096"
RUN pnpm i
RUN pnpm build