Spaces:
Running
Running
Download Dockerfile from prithivMLmods/like-graph: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/spaces/prithivMLmods/like-graph/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/prithivMLmods/like-graph/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/prithivMLmods/like-graph/resolve/main/Dockerfile
352 Bytes
| FROM node:22-alpine | |
| WORKDIR /app | |
| COPY package.json ./ | |
| RUN npm install | |
| COPY index.html ./ | |
| #COPY index.tsx ./ | |
| #COPY index.css ./ | |
| #COPY metadata.json ./ | |
| COPY tsconfig.json ./ | |
| COPY vite.config.ts ./ | |
| # Debug: show what scripts are available | |
| RUN cat package.json | head -20 | |
| RUN npx vite build | |
| EXPOSE 7860 | |
| CMD ["npx", "serve", "-s", "dist", "-l", "7860"] |