Download Dockerfile from ghh1125/rdkit: direct link, hf CLI and curl.
- Browser
- Download file 395 Bytes
-
https://huggingface.co/spaces/ghh1125/rdkit/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ghh1125/rdkit/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ghh1125/rdkit/resolve/main/Dockerfile
395 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| RUN useradd -m -u 1000 appuser | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -r /app/requirements.txt | |
| COPY rdkit /app/rdkit | |
| COPY app.py /app/app.py | |
| ENV MCP_TRANSPORT=http | |
| ENV MCP_PORT=7860 | |
| EXPOSE 7860 | |
| USER appuser | |
| ENTRYPOINT ["python", "rdkit/mcp_output/start_mcp.py"] | |