Spaces:
Running
Running
Download Dockerfile from sitcod3/BRIDGE_Modul-S_prod: direct link, hf CLI and curl.
- Browser
- Download file 345 Bytes
-
https://huggingface.co/spaces/sitcod3/BRIDGE_Modul-S_prod/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sitcod3/BRIDGE_Modul-S_prod/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sitcod3/BRIDGE_Modul-S_prod/resolve/main/Dockerfile
345 Bytes
| FROM node:24-alpine AS builder | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm ci | |
| COPY . . | |
| RUN npm run build | |
| FROM node:24-alpine | |
| WORKDIR /app | |
| COPY --from=builder /app/dist ./dist | |
| COPY --from=builder /app/package*.json ./ | |
| RUN npm ci --omit=dev | |
| # Hugging Face exposes port 7860 | |
| ENV PORT=7860 | |
| ENV NODE_ENV=production | |
| EXPOSE 7860 | |
| CMD ["npm", "start"] | |