Download Dockerfile from ShawLiu6/deadman: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/spaces/ShawLiu6/deadman/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ShawLiu6/deadman/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ShawLiu6/deadman/resolve/main/Dockerfile
286 Bytes
| FROM alpine AS builder | |
| RUN apk add --no-cache nodejs npm git | |
| RUN adduser -D app | |
| USER app | |
| WORKDIR /home/app | |
| RUN git clone https://github.com/mindjkl/114514.git 114514 | |
| WORKDIR /home/app/114514 | |
| RUN npm ci --omit dev && npm run download-dist | |
| EXPOSE 3001 | |
| CMD ["node", "server/server.js"] |