Download Dockerfile from Hgodwarrior/Huhb3D-Synthetic-Data-Generator: direct link, hf CLI and curl.
- Browser
- Download file 211 Bytes
-
https://huggingface.co/Hgodwarrior/Huhb3D-Synthetic-Data-Generator/resolve/main/Dockerfile
- Command line
-
hf download hf://Hgodwarrior/Huhb3D-Synthetic-Data-Generator/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/Hgodwarrior/Huhb3D-Synthetic-Data-Generator/resolve/main/Dockerfile
211 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY index.html . | |
| COPY server.py . | |
| COPY demo_data/ ./demo_data/ | |
| RUN useradd -m -u 1000 user | |
| RUN chown -R user:user /app | |
| USER user | |
| EXPOSE 7860 | |
| CMD ["python3", "server.py"] | |