Spaces:
Runtime error
Runtime error
Download Dockerfile from ElNavarael/NEWGENESIs: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/spaces/ElNavarael/NEWGENESIs/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ElNavarael/NEWGENESIs/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ElNavarael/NEWGENESIs/resolve/main/Dockerfile
423 Bytes
| FROM node:18-bullseye-slim | |
| RUN apt-get update && \ | |
| apt-get install -y git | |
| RUN git clone https://gitlab.com/Nvrrrr/nv-oai-p.git /app | |
| WORKDIR /app | |
| RUN chown -R 1000:1000 /app | |
| USER 1000 | |
| RUN npm install | |
| COPY Dockerfile greeting.md* .env* ./ | |
| RUN npm run build | |
| EXPOSE 7860 | |
| ENV NODE_ENV=production | |
| # Huggigface free VMs have 16GB of RAM so we can be greedy | |
| ENV NODE_OPTIONS="--max-old-space-size=12882" | |
| CMD [ "npm", "start" ] | |