Spaces:
Build error
Build error
| FROM node | |
| RUN apt-get update && apt-get install -y git curl | |
| RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash | |
| RUN export NVM_DIR="$HOME/.nvm" \ | |
| && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" \ | |
| && nvm install 22 \ | |
| && node -v | |
| WORKDIR /app | |
| RUN git clone https://github.com/vercel/vercel.git | |
| RUN mv vercel/examples/nextjs ./ | |
| WORKDIR /app/nextjs | |
| RUN npm install @chakra-ui/react @emotion/react @emotion/styled framer-motion | |