Spaces:
Sleeping
Sleeping
Download Dockerfile from TXAVLOG/dptxa-proxy: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/spaces/TXAVLOG/dptxa-proxy/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/TXAVLOG/dptxa-proxy/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/TXAVLOG/dptxa-proxy/resolve/main/Dockerfile
432 Bytes
| FROM node:22-alpine AS build | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install --legacy-peer-deps | |
| COPY . . | |
| RUN npm run build | |
| FROM node:22-alpine AS runtime | |
| WORKDIR /app | |
| COPY --from=build /app/dist ./dist | |
| COPY --from=build /app/node_modules ./node_modules | |
| COPY --from=build /app/package.json ./package.json | |
| COPY --from=build /app/public ./public | |
| ENV HOST=0.0.0.0 | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["node", "./dist/server/entry.mjs"] | |