Download Dockerfile from lablab-ai-amd-developer-hackathon/systemforge-ai: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/spaces/lablab-ai-amd-developer-hackathon/systemforge-ai/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/lablab-ai-amd-developer-hackathon/systemforge-ai/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/lablab-ai-amd-developer-hackathon/systemforge-ai/resolve/main/Dockerfile
380 Bytes
| FROM node:20-bullseye | |
| RUN apt-get update && apt-get install -y python3 python3-pip python3-venv | |
| WORKDIR /app | |
| COPY . . | |
| RUN pip3 install --no-cache-dir -r requirements.txt | |
| WORKDIR /app/frontend | |
| RUN npm install | |
| RUN npm run build | |
| WORKDIR /app | |
| EXPOSE 7860 | |
| CMD sh -c "python3 -m uvicorn src.api.main:app --host 0.0.0.0 --port 8000 & cd frontend && npm run start -- --port 7860" | |