Spaces:
Runtime error
Runtime error
Download Dockerfile from ronylu/POS: direct link, hf CLI and curl.
- Browser
- Download file 278 Bytes
-
https://huggingface.co/spaces/ronylu/POS/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ronylu/POS/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ronylu/POS/resolve/main/Dockerfile
278 Bytes
| FROM node:20-alpine | |
| WORKDIR /app | |
| # Install deps first (better caching) | |
| COPY package.json package-lock.json* ./ | |
| RUN npm install | |
| # Copy source | |
| COPY . . | |
| # Build the app | |
| RUN npm run build | |
| # Expose HF default port | |
| EXPOSE 7860 | |
| # Serve the built site | |
| CMD ["npm", "run", "start"] | |