File size: 940 Bytes
dffaf30
3d87e1b
bb08748
3d87e1b
9a2fd32
5d7c203
 
bb08748
bebad14
ac07121
c133f6d
f61b63d
66e270c
f61b63d
 
 
49ea02a
bfb5fa1
56e3a76
4e8d3ba
80e9072
bb08748
9a2fd32
 
bb08748
 
3d87e1b
 
 
4e8d3ba
 
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
26
27
28
29
30
31
FROM continuumio/miniconda3

RUN useradd -m -u 1000 user
WORKDIR /usr/src/app

COPY --link --chown=1000 ./ /usr/src/app
COPY . .

# install dependcies
# FROM continuumio/miniconda3:4.10.3
# RUN conda install -y python=3.9 pandas numpy scikit-learn
# RUN conda install -y python=3.9
# RUN pip install --upgrade setuptools
# RUN pip install --no-cache-dir -r requirements.txt

# Create Conda environment from env.yaml
RUN conda env create -f env.yml
# RUN conda run -n dockformer-venv pip install git+https://github.com/NVIDIA/dllogger.git gradio gradio_molecule3d gradio_client httpx --no-deps
# SHELL ["conda", "run", "-n", "dockformer-venv", "/bin/bash", "-c"]



#if you need to download executable and run them switch to the default non-root user
USER user

#do not modify below
EXPOSE 7860
ENV GRADIO_SERVER_NAME="0.0.0.0"

# CMD ["python", "inference_app.py"]
CMD ["conda", "run", "-n", "dockformer-venv", "python", "inference_app.py"]