-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile-gpu
More file actions
24 lines (15 loc) · 848 Bytes
/
Dockerfile-gpu
File metadata and controls
24 lines (15 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM continuumio/miniconda3:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN git clone https://github.com/globus-labs/mof-generation-at-scale.git
COPY environment-cuda11.yml /mof-generation-at-scale/envs/environment-cuda11.yml
RUN conda update -n base conda \
&& conda install -n base conda-libmamba-solver \
&& conda config --set solver libmamba \
&& cd mof-generation-at-scale/envs \
&& conda env create --file environment-cuda11.yml
SHELL ["conda", "run", "--no-capture-output", "-n", "mofa", "/bin/bash", "-c"]
RUN conda install -y redis mongodb
COPY run_mini_app.sh /mof-generation-at-scale/
LABEL org.opencontainers.image.source=https://github.com/diaspora-project/mofa-mini-app
ENTRYPOINT ["conda", "run", "--no-capture-output", "-n", "mofa", "/bin/bash", "/mof-generation-at-scale/run_mini_app.sh"]