Download Dockerfile from marsalpha/lobe: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/spaces/marsalpha/lobe/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/marsalpha/lobe/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/marsalpha/lobe/resolve/main/Dockerfile
291 Bytes
| # FROM lobehub/lobe-chat:v0.101.7 | |
| 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"] | |