Download Dockerfile from lablab-ai-amd-developer-hackathon/task-runtime-ai: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/spaces/lablab-ai-amd-developer-hackathon/task-runtime-ai/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/lablab-ai-amd-developer-hackathon/task-runtime-ai/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/lablab-ai-amd-developer-hackathon/task-runtime-ai/resolve/main/Dockerfile
263 Bytes
| FROM node:20-slim | |
| WORKDIR /app | |
| ENV NEXT_TELEMETRY_DISABLED=1 | |
| ENV PORT=7860 | |
| COPY package.json package-lock.json ./ | |
| RUN npm ci --include=dev --legacy-peer-deps | |
| COPY . . | |
| RUN npm run build | |
| EXPOSE 7860 | |
| CMD ["npm", "run", "start", "--", "--hostname", "0.0.0.0"] |