Download dockerfile from lablab-ai-amd-developer-hackathon/MachinaCheck: direct link, hf CLI and curl.
- Browser
- Download file 206 Bytes
-
https://huggingface.co/spaces/lablab-ai-amd-developer-hackathon/MachinaCheck/resolve/main/dockerfile
- Command line
-
hf download hf://spaces/lablab-ai-amd-developer-hackathon/MachinaCheck/dockerfile
-
curl -L -o dockerfile https://huggingface.co/spaces/lablab-ai-amd-developer-hackathon/MachinaCheck/resolve/main/dockerfile
206 Bytes
| FROM node:18-alpine | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install | |
| COPY . . | |
| ENV NEXT_PUBLIC_API_URL=https://your-ngrok-url.ngrok-free.app | |
| RUN npm run build | |
| EXPOSE 3000 | |
| ENV PORT 3000 | |
| CMD ["npm", "start"] |