File size: 701 Bytes
3af6c08 1e4e98d e2f9cba 1e4e98d 5c8508c 1e4e98d b4f90d4 cec1058 1660731 1e4e98d 20931ec 3b84827 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
FROM python:3.10
USER root
RUN apt-get update -y
RUN apt install -y git-all
RUN apt-get install -y dssp
RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /app
COPY --chown=user . /app
RUN pip3 install --upgrade pip
RUN pip3 install git+https://github.com/a-r-j/graphein.git
RUN pip3 install numpy scipy torch==2.2 transformers==4.44.2
RUN pip3 install torch-geometric
RUN pip3 install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.2.0+cpu.html
RUN pip3 install gradio==5.0.1
RUN pip3 install spaces
CMD ["ls"]
CMD ["python", "app.py"]
# CMD ["uvicorn", "app:demo", "--host", "0.0.0.0", "--port", "7860"] |