Spaces:
Sleeping
Sleeping
Download deploy/ui.Dockerfile from REBELLION2002/traffix-live: direct link, hf CLI and curl.
- Browser
- Download file 289 Bytes
-
https://huggingface.co/spaces/REBELLION2002/traffix-live/resolve/main/deploy/ui.Dockerfile
- Command line
-
hf download hf://spaces/REBELLION2002/traffix-live/deploy/ui.Dockerfile
-
curl -L -o ui.Dockerfile https://huggingface.co/spaces/REBELLION2002/traffix-live/resolve/main/deploy/ui.Dockerfile
289 Bytes
| FROM node:22-alpine AS build | |
| WORKDIR /web | |
| COPY web/package.json ./ | |
| COPY web/package-lock.json ./ | |
| RUN npm ci | |
| COPY web/ ./ | |
| RUN npm run build | |
| FROM nginx:1.27-alpine | |
| COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf | |
| COPY --from=build /web/dist /usr/share/nginx/html | |
| EXPOSE 80 | |