Spaces:
Sleeping
Sleeping
Download Dockerfile from Samfredoly/jor: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/spaces/Samfredoly/jor/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Samfredoly/jor/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Samfredoly/jor/resolve/main/Dockerfile
390 Bytes
| # Build the Vite React application. | |
| FROM node:22-alpine AS build | |
| WORKDIR /app | |
| COPY package.json ./ | |
| RUN npm install | |
| COPY . . | |
| RUN npm run build | |
| # Serve the static production build on Hugging Face Spaces' expected port. | |
| FROM node:22-alpine | |
| WORKDIR /app | |
| RUN npm install --global serve | |
| COPY --from=build /app/dist ./dist | |
| EXPOSE 7860 | |
| CMD ["serve", "-s", "dist", "-l", "7860"] | |