Spaces:
Running
Running
Download Dockerfile from HaomingLuo/AgentFEM-Morph-Lab: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/spaces/HaomingLuo/AgentFEM-Morph-Lab/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/HaomingLuo/AgentFEM-Morph-Lab/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/HaomingLuo/AgentFEM-Morph-Lab/resolve/main/Dockerfile
280 Bytes
| FROM python:3.12-slim | |
| RUN useradd --create-home --uid 1000 appuser | |
| WORKDIR /app | |
| COPY --chown=appuser:appuser index.html style.css app.mjs physics.mjs worker.mjs /app/ | |
| USER appuser | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "http.server", "7860", "--bind", "0.0.0.0", "--directory", "/app"] | |