Download Dockerfile from aripbae/yuki-api: direct link, hf CLI and curl.
- Browser
- Download file 405 Bytes
-
https://huggingface.co/spaces/aripbae/yuki-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/aripbae/yuki-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/aripbae/yuki-api/resolve/main/Dockerfile
405 Bytes
| FROM node:22-alpine | |
| WORKDIR /app | |
| COPY package.json ./ | |
| COPY tsconfig.json ./ | |
| COPY vite.config.ts ./ | |
| COPY tailwind.config.ts ./ | |
| COPY postcss.config.js ./ | |
| RUN npm i && npm i -g echowarp | |
| COPY src ./src | |
| COPY _build/ ./_build | |
| COPY components.json ./ | |
| RUN npx tsx _build/script.ts | |
| EXPOSE 7860 | |
| ENV PORT=7860 | |
| ENV NODE_ENV=production | |
| CMD ["sh", "-c", "node dist/index.cjs & echowarp 7860 --debug --name yuki"] |