Spaces:
No application file
No application file
Download dockerfile from cryogenic22/content_demo: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/spaces/cryogenic22/content_demo/resolve/main/dockerfile
- Command line
-
hf download hf://spaces/cryogenic22/content_demo/dockerfile
-
curl -L -o dockerfile https://huggingface.co/spaces/cryogenic22/content_demo/resolve/main/dockerfile
244 Bytes
| FROM node:16-alpine | |
| WORKDIR /app | |
| COPY package.json package-lock.json* ./ | |
| RUN npm install | |
| COPY . ./ | |
| RUN npm run build | |
| RUN npm install -g serve | |
| # Set the command to serve the built app | |
| CMD ["serve", "-s", "build", "-l", "7860"] | |
| EXPOSE 7860 |