Download react-dashboard/Dockerfile from engineofperplexity/openclaw-ops-dashboard: direct link, hf CLI and curl.
- Browser
- Download file 303 Bytes
-
https://huggingface.co/engineofperplexity/openclaw-ops-dashboard/resolve/main/react-dashboard/Dockerfile
- Command line
-
hf download hf://engineofperplexity/openclaw-ops-dashboard/react-dashboard/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/engineofperplexity/openclaw-ops-dashboard/resolve/main/react-dashboard/Dockerfile
303 Bytes
| FROM node:22-alpine AS build | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm ci | |
| COPY . . | |
| ARG VITE_BASE_PATH=/react/ | |
| ENV VITE_BASE_PATH=$VITE_BASE_PATH | |
| RUN npm run build | |
| FROM nginx:1.27-alpine | |
| COPY nginx.conf /etc/nginx/conf.d/default.conf | |
| COPY --from=build /app/dist /usr/share/nginx/html | |
| EXPOSE 8080 | |