Spaces:
Build error
Build error
Download Dockerfile from shimanta420/anycoder-873d13ec: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/spaces/shimanta420/anycoder-873d13ec/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/shimanta420/anycoder-873d13ec/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/shimanta420/anycoder-873d13ec/resolve/main/Dockerfile
293 Bytes
| FROM node:18-slim | |
| # Use existing node user | |
| USER node | |
| ENV HOME=/home/node | |
| ENV PATH=/home/node/.local/bin:$PATH | |
| WORKDIR /home/node/app | |
| COPY --chown=node:node package*.json ./ | |
| RUN npm install | |
| COPY --chown=node:node . . | |
| RUN npm run build | |
| EXPOSE 7860 | |
| CMD ["npm", "start", "--", "-p", "7860"] | |