Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download frontend/Dockerfile from larxius/SentinelScan-WSS: direct link, hf CLI and curl.
- Browser
- Download file 295 Bytes
-
https://huggingface.co/spaces/larxius/SentinelScan-WSS/resolve/main/frontend/Dockerfile
- Command line
-
hf download hf://spaces/larxius/SentinelScan-WSS/frontend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/larxius/SentinelScan-WSS/resolve/main/frontend/Dockerfile
295 Bytes
| FROM node:20-alpine AS build | |
| WORKDIR /app | |
| COPY package.json package-lock.json* ./ | |
| RUN npm ci | |
| COPY . . | |
| RUN npm run build | |
| FROM nginx:alpine | |
| COPY --from=build /app/dist /usr/share/nginx/html | |
| COPY nginx.conf /etc/nginx/conf.d/default.conf | |
| EXPOSE 80 | |
| CMD ["nginx", "-g", "daemon off;"] | |