Spaces:
Build error
Build error
File size: 483 Bytes
2c7947e c7c1e1f cee52cd c7c1e1f c73a07e 748e438 c73a07e c7c1e1f 8dd8cf3 4e014ea 9dfe3d3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 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
|