CoolFace
Apppublic

habdine/Prot2Text

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Dockerfile25 linesDownload Raw Back to root
1FROM python:3.102 3USER root4RUN apt-get update -y5RUN apt install -y git-all 6RUN apt-get install -y dssp7 8RUN useradd -m -u 1000 user9USER user10ENV PATH="/home/user/.local/bin:$PATH"11 12WORKDIR /app13COPY --chown=user . /app14 15RUN pip3 install --upgrade pip16RUN pip3 install git+https://github.com/a-r-j/graphein.git17RUN pip3 install numpy scipy torch==2.2 transformers==4.44.218RUN pip3 install torch-geometric19RUN pip3 install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.2.0+cpu.html20RUN pip3 install gradio==5.0.121RUN pip3 install spaces22 23CMD ["ls"]24CMD ["python", "app.py"]25# CMD ["uvicorn", "app:demo", "--host", "0.0.0.0", "--port", "7860"]