Download Dockerfile from rainnee/lobe-chat: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/spaces/rainnee/lobe-chat/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/rainnee/lobe-chat/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/rainnee/lobe-chat/resolve/main/Dockerfile
290 Bytes
| # FROM lobehub/lobe-chat:v0.99.1 | |
| FROM lobehub/lobe-chat | |
| EXPOSE 3210 | |
| ENV PORT=3210 | |
| ENV ACCESS_CODE="" | |
| USER root | |
| RUN mkdir -p /app/.next/cache | |
| RUN chmod -R 777 /app/.next/cache | |
| RUN mkdir -p nonexistent | |
| RUN chmod -R 777 nonexistent | |
| # RUN yarn add sharp | |
| USER nextjs | |
| CMD ["node", "server.js"] | |