Download Dockerfile from adasdasdasdas/commandr-plus-proxy: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/spaces/adasdasdasdas/commandr-plus-proxy/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/adasdasdasdas/commandr-plus-proxy/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/adasdasdasdas/commandr-plus-proxy/resolve/main/Dockerfile
380 Bytes
| FROM node:18-bullseye-slim | |
| RUN apt-get update && \ | |
| apt-get install -y git | |
| RUN git clone https://github.com/bmwm3gtrntrrazor/cohere-proxy.git /app | |
| WORKDIR /app | |
| RUN chown -R 1000:1000 /app | |
| USER 1000 | |
| RUN npm install | |
| COPY Dockerfile greeting.md* .env* ./ | |
| RUN npx tsc | |
| EXPOSE 7860 | |
| ENV NODE_ENV=production | |
| ENV NODE_OPTIONS="--max-old-space-size=12882" | |
| CMD [ "node", "dist/index.js" ] |