Spaces:
Paused
Paused
Download Dockerfile from yourstudiolab/eai2: direct link, hf CLI and curl.
- Browser
- Download file 343 Bytes
-
https://huggingface.co/spaces/yourstudiolab/eai2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/yourstudiolab/eai2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/yourstudiolab/eai2/resolve/main/Dockerfile
343 Bytes
| FROM node:18 | |
| RUN git clone https://github.com/Yidadaa/ChatGPT-Next-Web.git | |
| WORKDIR "ChatGPT-Next-Web" | |
| RUN npm i # 推荐使用 pnpm i | |
| RUN npm run build | |
| # 设置环境变量,此处为随机字符 | |
| ENV BASE_URL="https://ai.fakeopen.com" | |
| ENV OPENAI_API_KEY="pk-this-is-a-real-free-pool-token-for-everyone" | |
| EXPOSE 3000 | |
| CMD ["npm", "run", "start"] |